diff --git a/.github/workflows/stable-sync.yml b/.github/workflows/stable-sync.yml index 6dc846e3..9be9ddfe 100644 --- a/.github/workflows/stable-sync.yml +++ b/.github/workflows/stable-sync.yml @@ -46,6 +46,10 @@ on: type: string description: 'The version of github-tools to use. Defaults to main.' default: ${{ github.action_ref }} + secrets: + github-token: + description: 'GitHub token for creating pull requests' + required: true jobs: stable-sync: @@ -128,7 +132,7 @@ jobs: - name: Create Pull Request if: steps.check-pr.outputs.result != 'true' env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.github-token }} BRANCH_NAME: stable-main-${{ inputs.semver-version }} VERSION: ${{ inputs.semver-version }} run: |