Skip to content

Commit

Permalink
fix: changelog automation (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykie authored Sep 12, 2024
1 parent df6469b commit 08e0acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
export SHA=$( git rev-parse $DESTINATION_BRANCH:$FILE_TO_COMMIT )
export CONTENT=$( base64 -i $FILE_TO_COMMIT )
gh api --method POST /repos/:owner/:repo/git/refs \
--field ref="refs/head/changelog-${{ github.run_id }}" \
--field ref="refs/heads/changelog-${{ github.run_id }}" \
--field sha="$SHA"
gh api --method PUT /repos/:owner/:repo/contents/$FILE_TO_COMMIT \
--field message="$MESSAGE" \
Expand Down

0 comments on commit 08e0acc

Please sign in to comment.