Skip to content

Commit 702b1d9

Browse files
authored
ci: migrate to org-wide NEARPROTOCOL_CI_PR_ACCESS token (#552)
Migrates from personal `CUSTOM_GITHUB_TOKEN` to org-wide `NEARPROTOCOL_CI_PR_ACCESS` for release-plz workflow.
1 parent 8c7a6d2 commit 702b1d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-plz.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/checkout@v3
1919
with:
2020
fetch-depth: 0
21-
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
21+
token: ${{ secrets.NEARPROTOCOL_CI_PR_ACCESS }}
2222
- name: Install Rust toolchain
2323
uses: dtolnay/rust-toolchain@stable
2424
- name: Install packages (Linux)
@@ -28,5 +28,5 @@ jobs:
2828
uses: MarcoIeni/release-plz-action@v0.5
2929
env:
3030
# https://marcoieni.github.io/release-plz/github-action.html#triggering-further-workflow-runs
31-
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
31+
GITHUB_TOKEN: ${{ secrets.NEARPROTOCOL_CI_PR_ACCESS }}
3232
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)