Skip to content

Commit

Permalink
ci: Fix committing back updated SHA
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanty committed Jan 31, 2024
1 parent 2c899c2 commit 20fc508
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/update-formula.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.head.ref }}
ref: ${{ github.head_ref }}
token: ${{ secrets.PAT }}
- name: Download Knope Source
run: curl -o source.tgz https://codeload.github.com/knope-dev/knope/tar.gz/refs/tags/v0.13.0
Expand All @@ -24,8 +24,6 @@ jobs:
- name: Commit back new SHA if it changed
if: steps.check-sha.outputs.changed == 'yes'
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add Formula/knope.rb
git commit -m "Update SHA to ${{ env.NEW_SHA }}"
git push
Expand Down

0 comments on commit 20fc508

Please sign in to comment.