-
Notifications
You must be signed in to change notification settings - Fork 2k
Tidy NGINX PAT usage #7886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Tidy NGINX PAT usage #7886
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
998a340
remove nginx-pat from release-branch generation
pdabelf5 1954944
remove nginx-pat from version bump
pdabelf5 0272da7
add write permission for pull-requests for GITHUB_TOKEN
pdabelf5 b239975
remove nginx-pat from release-docs
pdabelf5 aba25bd
remove nginx-pat from cherry-pick workflow & release tag
pdabelf5 5afacf4
switch to using GITHUB_TOKEN for docker sha updates
pdabelf5 2a18179
remove nginx-pat from k8s update workflow
pdabelf5 00b8023
allow docker sha update to create pull requests
pdabelf5 1aa597b
scorecard should be able to use GITHUB_TOKEN now we are using ruleset…
pdabelf5 3f71cc8
Merge branch 'main' into tidy-nginx-pat
vepatel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.NGINX_PAT }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Set release branch variable | ||
id: branch | ||
|
@@ -35,6 +35,5 @@ jobs: | |
uses: carloscastrojumo/github-cherry-pick-action@503773289f4a459069c832dc628826685b75b4b3 # v1.0.10 | ||
with: | ||
branch: ${{ steps.branch.outputs.branch }} | ||
token: ${{ secrets.NGINX_PAT }} | ||
author: nginx-bot <[email protected]> | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
title: "[cherry-pick] {old_title}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,7 @@ jobs: | |
release: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Branch | ||
|
@@ -60,7 +61,7 @@ jobs: | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
ref: ${{ steps.branch.outputs.branch }} | ||
token: ${{ secrets.NGINX_PAT }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Replace | ||
run: | | ||
|
@@ -72,10 +73,9 @@ jobs: | |
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 | ||
with: | ||
token: ${{ secrets.NGINX_PAT }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: Release ${{ github.event.inputs.new_version }} | ||
title: Release ${{ github.event.inputs.new_version }} | ||
branch: docs/release-${{ github.event.inputs.new_version }} | ||
author: nginx-bot <[email protected]> | ||
body: | | ||
This automated PR updates the docs for ${{ github.event.inputs.new_version }} release. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ jobs: | |
version-bump: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout Repository | ||
|
@@ -50,11 +51,10 @@ jobs: | |
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 | ||
with: | ||
token: ${{ secrets.NGINX_PAT }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: Version Bump for ${{ github.event.inputs.ic_version }} | ||
title: Version Bump for ${{ github.event.inputs.ic_version }} | ||
branch: chore/version-bump-${{ github.event.inputs.ic_version }} | ||
author: nginx-bot <[email protected]> | ||
labels: chore | ||
body: | | ||
This automated PR updates the NIC & Helm chart versions for the upcoming ${{ github.event.inputs.ic_version }} release. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.