Create renovate-app-version.yml
This commit is contained in:
parent
9a0cde1c04
commit
3b4d8515c7
25
.github/workflows/renovate-app-version.yml
vendored
Normal file
25
.github/workflows/renovate-app-version.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name: Update app version in Renovate Branches
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ 'renovate/*' ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-app-version:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Configure repo
|
||||||
|
run: |
|
||||||
|
git config --local user.email "githubaction@githubaction.com"
|
||||||
|
git config --local user.name "github-action update-app-version"
|
||||||
|
|
||||||
|
- name: Update app version
|
||||||
|
run: |
|
||||||
|
./.github/workflows/renovate-app-version.sh
|
||||||
|
|
||||||
|
- name: Commit & Push Changes
|
||||||
|
run: |
|
||||||
|
git add "apps/*/config.json" && git commit -m "Update app version" && git push || true
|
Loading…
Reference in New Issue
Block a user