mirror of
https://github.com/YunoHost-Apps/zwiicms_ynh.git
synced 2024-09-03 18:06:04 +02:00
Update workflows
This commit is contained in:
parent
3a6400467c
commit
4236149cd5
2 changed files with 4 additions and 8 deletions
8
.github/workflows/package_linter.yml
vendored
8
.github/workflows/package_linter.yml
vendored
|
@ -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'
|
||||
|
||||
|
|
4
.github/workflows/update_master.yml
vendored
4
.github/workflows/update_master.yml
vendored
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue