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 # Allow to manually trigger the workflow
workflow_dispatch: workflow_dispatch:
push: push:
branches:
- main
pull_request: pull_request:
schedule:
- cron: '0 8 * * *'
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v5
with: with:
python-version: '3.9' python-version: '3.9'

View file

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