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
|
# 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'
|
||||||
|
|
||||||
|
|
4
.github/workflows/update_master.yml
vendored
4
.github/workflows/update_master.yml
vendored
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue