File tree Expand file tree Collapse file tree 8 files changed +14
-14
lines changed Expand file tree Collapse file tree 8 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 2121 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222 with :
2323 fetch-depth : 0
24- token : ${{ secrets.NGINX_PAT }}
24+ token : ${{ secrets.GITHUB_TOKEN }}
2525
2626 - name : Set release branch variable
2727 id : branch
3535 uses : carloscastrojumo/github-cherry-pick-action@503773289f4a459069c832dc628826685b75b4b3 # v1.0.10
3636 with :
3737 branch : ${{ steps.branch.outputs.branch }}
38- token : ${{ secrets.NGINX_PAT }}
39- author :
nginx-bot <[email protected] > 38+ token : ${{ secrets.GITHUB_TOKEN }}
4039 title : " [cherry-pick] {old_title}"
Original file line number Diff line number Diff line change 6666 git push --dry-run origin "${branch}"
6767 fi
6868 env :
69- GITHUB_TOKEN : ${{ secrets.NGINX_PAT }}
69+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 4747 release :
4848 permissions :
4949 contents : write
50+ pull-requests : write
5051 runs-on : ubuntu-22.04
5152 steps :
5253 - name : Branch
6061 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6162 with :
6263 ref : ${{ steps.branch.outputs.branch }}
63- token : ${{ secrets.NGINX_PAT }}
64+ token : ${{ secrets.GITHUB_TOKEN }}
6465
6566 - name : Replace
6667 run : |
7273 - name : Create Pull Request
7374 uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
7475 with :
75- token : ${{ secrets.NGINX_PAT }}
76+ token : ${{ secrets.GITHUB_TOKEN }}
7677 commit-message : Release ${{ github.event.inputs.new_version }}
7778 title : Release ${{ github.event.inputs.new_version }}
7879 branch : docs/release-${{ github.event.inputs.new_version }}
79- author :
nginx-bot <[email protected] > 8080 body : |
8181 This automated PR updates the docs for ${{ github.event.inputs.new_version }} release.
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ jobs:
122122 echo "Warning: Tag ${tag} already exists. Not making any changes"
123123 fi
124124 env :
125- GITHUB_TOKEN : ${{ secrets.NGINX_PAT }}
125+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
126126
127127 mend :
128128 if : ${{ ! cancelled() && ! failure() && ! inputs.dry_run && ! contains(inputs.skip_step, 'mend') }}
Original file line number Diff line number Diff line change 3838 with :
3939 results_file : results.sarif
4040 results_format : sarif
41- repo_token : ${{ secrets.SCORECARD_READ_TOKEN }}
41+ repo_token : ${{ secrets.GITHUB_TOKEN }}
4242
4343 # Publish the results for public repositories to enable scorecard badges. For more details, see
4444 # https://github.com/ossf/scorecard-action#publishing-results.
Original file line number Diff line number Diff line change 4646 update-docker-sha :
4747 permissions :
4848 contents : write
49+ pull-requests : write
4950 runs-on : ubuntu-22.04
5051 needs : [vars]
5152 steps :
7980 uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
8081 id : pr
8182 with :
82- token : ${{ secrets.NGINX_PAT }}
83+ token : ${{ secrets.GITHUB_TOKEN }}
8384 commit-message : Update docker images ${{ steps.update_images.outputs.docker_md5 }}
8485 title : Docker image update ${{ steps.update_images.outputs.docker_md5 }}
8586 branch : deps/image-update-${{ needs.vars.outputs.source_branch }}-${{ steps.update_images.outputs.docker_md5 }}
9697 run : gh pr merge --auto --squash "$PR_URL"
9798 env :
9899 PR_URL : ${{ steps.pr.outputs.pull-request-url }}
99- GITHUB_TOKEN : ${{ secrets.NGINX_PAT }}
100+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
100101 if : ${{ !inputs.dry_run && steps.update_images.outputs.change_detected == 'true' }}
Original file line number Diff line number Diff line change 4545 - name : Create Pull Request
4646 uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
4747 with :
48- token : ${{ secrets.NGINX_PAT }}
48+ token : ${{ secrets.GITHUB_TOKEN }}
4949 commit-message : update kubernetes version to ${{ steps.k8s-version.outputs.version }} in helm schema
5050 title : update kubernetes version to ${{ steps.k8s-version.outputs.version }} in helm schema
5151 branch : chore/k8s-${{ steps.k8s-version.outputs.version }}
Original file line number Diff line number Diff line change 2727 version-bump :
2828 permissions :
2929 contents : write
30+ pull-requests : write
3031 runs-on : ubuntu-22.04
3132 steps :
3233 - name : Checkout Repository
@@ -50,11 +51,10 @@ jobs:
5051 - name : Create Pull Request
5152 uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
5253 with :
53- token : ${{ secrets.NGINX_PAT }}
54+ token : ${{ secrets.GITHUB_TOKEN }}
5455 commit-message : Version Bump for ${{ github.event.inputs.ic_version }}
5556 title : Version Bump for ${{ github.event.inputs.ic_version }}
5657 branch : chore/version-bump-${{ github.event.inputs.ic_version }}
57- author :
nginx-bot <[email protected] > 5858 labels : chore
5959 body : |
6060 This automated PR updates the NIC & Helm chart versions for the upcoming ${{ github.event.inputs.ic_version }} release.
You can’t perform that action at this time.
0 commit comments