diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index f1bfc6da2..87df3f733 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -46,13 +46,11 @@ jobs: SEGMENT_TOKEN: ${{ secrets.SEGMENT_TOKEN }} - name: Commit the updated package(-lock).json - uses: stefanzweifel/git-auto-commit-action@v7 + uses: apify/actions/signed-commit@v1.1.2 with: - commit_message: "chore: Automatic theme updating workflow [skip ci]" - file_pattern: "website/package*.json pnpm-lock.yaml" - commit_user_name: Apify Bot - commit_user_email: my-github-actions-bot@example.org - commit_author: Apify Bot + message: "chore: Automatic theme updating workflow [skip ci]" + add: 'website/package.json website/package-lock.json pnpm-lock.yaml' + github-token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }} - name: Set up GitHub Pages uses: actions/configure-pages@v6 diff --git a/.github/workflows/pre_release.yaml b/.github/workflows/pre_release.yaml index 68593b87b..2e4ac4558 100644 --- a/.github/workflows/pre_release.yaml +++ b/.github/workflows/pre_release.yaml @@ -45,7 +45,7 @@ jobs: name: Update changelog runs-on: ubuntu-latest outputs: - changelog_commitish: ${{ steps.commit.outputs.commit_long_sha || github.sha }} + changelog_commitish: ${{ steps.commit.outputs.commit_long_sha }} pre_release_version: ${{ steps.get-pre-release-version.outputs.pre_release_version }} steps: @@ -78,12 +78,11 @@ jobs: - name: Commit changes id: commit - uses: EndBug/add-and-commit@v10 + uses: apify/actions/signed-commit@v1.1.2 with: - author_name: Apify Release Bot - author_email: noreply@apify.com message: "chore(release): Update changelog and package version [skip ci]" - pull: "--rebase --autostash" + pull: '--rebase --autostash' + github-token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }} - name: Get pre-release version id: get-pre-release-version diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5bfce533b..4c87a0767 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -74,7 +74,7 @@ jobs: name: Update changelog runs-on: ubuntu-latest outputs: - changelog_commitish: ${{ steps.commit.outputs.commit_long_sha || github.sha }} + changelog_commitish: ${{ steps.commit.outputs.commit_long_sha }} steps: - name: Checkout repository @@ -112,12 +112,11 @@ jobs: - name: Commit changes id: commit - uses: EndBug/add-and-commit@v10 + uses: apify/actions/signed-commit@v1.1.2 with: - author_name: Apify Release Bot - author_email: noreply@apify.com message: "chore(release): Update changelog and package version [skip ci]" - pull: "--rebase --autostash" + pull: '--rebase --autostash' + github-token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }} build-bundles: name: Build bundles diff --git a/.github/workflows/version_docs.yaml b/.github/workflows/version_docs.yaml index c6d045d16..9f6688596 100644 --- a/.github/workflows/version_docs.yaml +++ b/.github/workflows/version_docs.yaml @@ -36,9 +36,8 @@ jobs: pnpm --filter apify-cli-website exec -- docusaurus docs:version $MAJOR_MINOR - name: Commit and push the version snapshot - uses: EndBug/add-and-commit@v10 + uses: apify/actions/signed-commit@v1.1.2 with: - author_name: Apify Release Bot - author_email: noreply@apify.com message: "docs: version docs for ${{ steps.version.outputs.version }} [docs build]" - pull: "--rebase --autostash" + pull: '--rebase --autostash' + github-token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}