Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: migrate from REPO_TOKEN to GITHUB_TOKEN #696

Merged
merged 2 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
runs-on: ubuntu-latest
permissions: # Write access to push changes to pages
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- name: Install latest Rust
Expand All @@ -63,7 +64,7 @@ jobs:
coverage-files: lcov.info
minimum-coverage: 0 # for now we are not enforcing any minimum coverage.
artifact-name: code-coverage-report
github-token: ${{ secrets.REPO_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
update-comment: true

try-run-fuelup-init:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages-meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Deploy latest fuelup init
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.REPO_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
keep_files: true
publish_dir: ${{ env.FUELUP_INIT_DIR }}
destination_dir: ./
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Deploy latest fuelup version
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.REPO_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
keep_files: true
publish_dir: ${{ env.FUELUP_VERSION_DIR }}
destination_dir: ./
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Deploy master
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.REPO_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/book
destination_dir: master
cname: install.fuel.network
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Deploy tag
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.REPO_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/book
destination_dir: ${{ steps.branch_name.outputs.BRANCH_NAME }}
cname: install.fuel.network
Expand All @@ -62,7 +62,7 @@ jobs:
- name: Set latest to point to tag
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.REPO_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./latest/
destination_dir: ./latest/
cname: install.fuel.network
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-nightly-channel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Deploy nightly channel (latest version)
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.REPO_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ env.NIGHTLY_CHANNEL_DIR }}
keep_files: true
destination_dir: ./
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Deploy nightly channel (archive)
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.REPO_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ env.NIGHTLY_CHANNEL_DIR }}
keep_files: true
destination_dir: ${{ steps.setup.outputs.archive_dir }}
Expand Down
Loading