diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a3d772631..5d1af8645 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -270,7 +270,11 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + - name: Checkout + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + with: + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} + persist-credentials: true - name: Download Mage Binary uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 with: @@ -303,5 +307,5 @@ jobs: if: steps.check_changes.outputs.changes_exist != '0' uses: ad-m/github-push-action@master with: - github_token: ${{ secrets.GITHUB_TOKEN }} + ssh: true branch: ${{ github.ref }}