diff --git a/.github/workflows/cherry-pick-release-commit.yml b/.github/workflows/cherry-pick-release-commit.yml index c92e7b05c149..a2da00788d10 100644 --- a/.github/workflows/cherry-pick-release-commit.yml +++ b/.github/workflows/cherry-pick-release-commit.yml @@ -26,8 +26,8 @@ jobs: name: Cherry-pick release commit runs-on: ubuntu-latest needs: analyse-labels - environment: - name: main + permissions: + actions: write strategy: matrix: branch: ${{ fromJSON(needs.analyse-labels.outputs.branches) }} @@ -37,7 +37,6 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - token: ${{ secrets.PAT }} - name: github-cherry-pick-action v1.0.3 uses: carloscastrojumo/github-cherry-pick-action@bb0869df47c27be4ae4c7a2d93d22827aa5a0054