add back commit step
This commit is contained in:
parent
c5cf0f10b6
commit
eccb046bea
1 changed files with 7 additions and 0 deletions
7
.github/workflows/update.yml
vendored
7
.github/workflows/update.yml
vendored
|
|
@ -50,6 +50,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git diff --exit-code flake.lock || echo "CHANGED=true" >> $GITHUB_OUTPUT
|
git diff --exit-code flake.lock || echo "CHANGED=true" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Commit changes
|
||||||
|
if: steps.git-check.outputs.CHANGED == 'true'
|
||||||
|
run: |
|
||||||
|
git add flake.lock
|
||||||
|
git commit -m "chore: update flake"
|
||||||
|
git push origin ${{ env.BRANCH_NAME }}
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
if: steps.git-check.outputs.CHANGED == 'true'
|
if: steps.git-check.outputs.CHANGED == 'true'
|
||||||
id: create-pr
|
id: create-pr
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue