1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/scrutiny_ynh.git synced 2024-09-03 20:16:24 +02:00

Update workflows

This commit is contained in:
Sylvain 2024-03-14 12:34:25 +01:00
parent 40ffbc3b4f
commit 2c99b1d420
2 changed files with 4 additions and 8 deletions

View file

@ -4,20 +4,16 @@ on:
# Allow to manually trigger the workflow
workflow_dispatch:
push:
branches:
- main
pull_request:
schedule:
- cron: '0 8 * * *'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.9'

View file

@ -10,7 +10,7 @@ jobs:
masterPromotion:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: master
- name: Reset promotion branch
@ -18,7 +18,7 @@ jobs:
git fetch origin testing:testing
git reset --hard testing
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6
with:
branch: master-promotion
title: 'Upgrade master from testing'