Skip to content

Commit

Permalink
ci(gh-actions/update-flake-lock): Gracefully handle the case where al…
Browse files Browse the repository at this point in the history
…l flake inputs are up to date
  • Loading branch information
PetarKirov committed May 6, 2024
1 parent bdeb16a commit cac6e97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
private_key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Create Pull Request
if: ${{ hashFiles('commit_msg_body.txt') != '' }}
uses: peter-evans/create-pull-request@v6
with:
token: ${{ steps.generate-token.outputs.token }}
title: 'Update Nix Flake lockfile'
body-path: ./commit_msg_body.txt
body-path: commit_msg_body.txt
branch: 'create-pull-request/update-flake-lockfile'
delete-branch: true
branch-suffix: timestamp
Expand Down

0 comments on commit cac6e97

Please sign in to comment.