Skip to content

Commit 06c1399

Browse files
authored
chore: Use custom action to commit changes in CI instead of git commit (#85)
* chore: Use custom action to commit changes in CI instead of `git commit` * Use `apify/actions/signed-commit`, simplify logic * Remove unneeded fallback to `github.sha`
1 parent 1d8d3d1 commit 06c1399

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/_update_release_metadata.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
name: Update changelog
5656
runs-on: ubuntu-latest
5757
outputs:
58-
changelog_commitish: ${{ steps.commit.outputs.commit_long_sha || github.sha }}
58+
changelog_commitish: ${{ steps.commit.outputs.commit_sha }}
5959
steps:
6060
- name: Checkout repository
6161
uses: actions/checkout@v6
@@ -79,8 +79,7 @@ jobs:
7979

8080
- name: Commit changes
8181
id: commit
82-
uses: EndBug/add-and-commit@v10
82+
uses: apify/actions/signed-commit@v1.0.0
8383
with:
84-
author_name: Apify Release Bot
85-
author_email: noreply@apify.com
8684
message: 'chore(release): Update changelog and package version [skip ci]'
85+
github-token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)