ci: amend instead of commit for renovate upgrade
This commit is contained in:
parent
e495cc1293
commit
a6d2751ec3
10
.github/workflows/renovate-app-version.yml
vendored
10
.github/workflows/renovate-app-version.yml
vendored
|
|
@ -2,8 +2,8 @@ name: Update app version in Renovate Branches
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ 'renovate/*' ]
|
branches: ["renovate/*"]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-app-version:
|
update-app-version:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Configure repo
|
- name: Configure repo
|
||||||
run: |
|
run: |
|
||||||
git config --local user.email "githubaction@githubaction.com"
|
git config --local user.email "githubaction@githubaction.com"
|
||||||
|
|
@ -33,7 +33,7 @@ jobs:
|
||||||
./.github/workflows/renovate-app-version.sh $app_name
|
./.github/workflows/renovate-app-version.sh $app_name
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Commit & Push Changes
|
- name: Commit & Push Changes
|
||||||
run: |
|
run: |
|
||||||
git add "apps/*/config.json" && git commit -m "Update app version" --no-verify && git push || true
|
git add "apps/*/config.json" && git commit --amend --no-verify && git push || true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user