From 1a4054449876a8aeb396f98b5cfaeafc555aac10 Mon Sep 17 00:00:00 2001 From: Philipp Burckhardt Date: Thu, 30 Jan 2025 10:12:35 -0500 Subject: [PATCH] build: update token names --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na --- --- .github/workflows/autoclose.yml | 12 ++++++------ .../check_contributing_guidelines_acceptance.yml | 2 +- .github/workflows/first_time_greeting.yml | 2 +- .github/workflows/generate_pr_commit_message.yml | 2 +- .github/workflows/labeler.yml | 14 +++++++------- .github/workflows/markdown_equations.yml | 2 +- .github/workflows/markdown_pkg_urls.yml | 2 +- .github/workflows/markdown_related_packages.yml | 2 +- .github/workflows/markdown_tocs.yml | 2 +- .github/workflows/namespace_declarations.yml | 2 +- .github/workflows/namespace_exports.yml | 2 +- .github/workflows/run_tests_coverage.yml | 6 +++--- .github/workflows/update_cli_permissions.yml | 2 +- .github/workflows/update_contributors.yml | 2 +- .github/workflows/update_error_databases.yml | 2 +- .github/workflows/update_package_meta_data.yml | 2 +- .github/workflows/update_repl_docs.yml | 2 +- 17 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/autoclose.yml b/.github/workflows/autoclose.yml index 4d6df813918f..0f3a6393ac82 100644 --- a/.github/workflows/autoclose.yml +++ b/.github/workflows/autoclose.yml @@ -52,7 +52,7 @@ jobs: - name: 'Close pull request' run: gh pr close "$NUMBER" --comment "$BODY" env: - GH_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }} GH_REPO: ${{ github.repository }} NUMBER: ${{ github.event.pull_request.number }} BODY: | @@ -88,7 +88,7 @@ jobs: - name: 'Close pull request' run: gh pr close "$NUMBER" --comment "$BODY" env: - GH_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }} GH_REPO: ${{ github.repository }} NUMBER: ${{ github.event.pull_request.number }} BODY: | @@ -124,7 +124,7 @@ jobs: - name: 'Close pull request' run: gh pr close "$NUMBER" --comment "$BODY" env: - GH_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }} GH_REPO: ${{ github.repository }} NUMBER: ${{ github.event.pull_request.number }} BODY: | @@ -164,7 +164,7 @@ jobs: - name: 'Close pull request' run: gh pr close "$NUMBER" --comment "$BODY" env: - GH_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }} GH_REPO: ${{ github.repository }} NUMBER: ${{ github.event.pull_request.number }} BODY: | @@ -176,7 +176,7 @@ jobs: - name: 'Lock conversation' run: gh pr lock "$NUMBER" --reason spam env: - GH_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }} GH_REPO: ${{ github.repository }} NUMBER: ${{ github.event.pull_request.number }} @@ -204,7 +204,7 @@ jobs: - name: 'Close pull request' run: gh pr close "$NUMBER" --comment "$BODY" env: - GH_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }} GH_REPO: ${{ github.repository }} NUMBER: ${{ github.event.pull_request.number }} BODY: | diff --git a/.github/workflows/check_contributing_guidelines_acceptance.yml b/.github/workflows/check_contributing_guidelines_acceptance.yml index 9b66cd55b6cc..0541bc4d4682 100755 --- a/.github/workflows/check_contributing_guidelines_acceptance.yml +++ b/.github/workflows/check_contributing_guidelines_acceptance.yml @@ -87,7 +87,7 @@ jobs: # Check contributing guidelines acceptance: - name: 'Check contributing guidelines acceptance' env: - GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }} PR_NUMBER: ${{ github.event.pull_request.number || inputs.pull_request_number }} run: | . "$GITHUB_WORKSPACE/.github/workflows/scripts/check_contributing_guidelines_acceptance" $PR_NUMBER diff --git a/.github/workflows/first_time_greeting.yml b/.github/workflows/first_time_greeting.yml index 9ab97358bc24..1eb5acae18f8 100644 --- a/.github/workflows/first_time_greeting.yml +++ b/.github/workflows/first_time_greeting.yml @@ -47,7 +47,7 @@ jobs: # Pin action to full length commit SHA uses: actions/first-interaction@34f15e814fe48ac9312ccf29db4e74fa767cbab7 # v1.3.0 with: - repo-token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + repo-token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} issue-message: | :wave: Hi there! :wave: diff --git a/.github/workflows/generate_pr_commit_message.yml b/.github/workflows/generate_pr_commit_message.yml index 958b71f544e0..4210b20e3ef0 100644 --- a/.github/workflows/generate_pr_commit_message.yml +++ b/.github/workflows/generate_pr_commit_message.yml @@ -90,7 +90,7 @@ jobs: # Pin action to full length commit SHA uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0 with: - token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} issue-number: ${{ github.event.pull_request.number }} body: | ### PR Commit Message diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index bc2ef3f71b37..341e20a01fc5 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -63,7 +63,7 @@ jobs: uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 with: configuration-path: .github/labeler.yml - repo-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }} + repo-token: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }} # Add "First-time Contributor" label if PR is from a first-time contributor: - name: 'Add "First-time Contributor" label if PR is from a first-time contributor' @@ -71,7 +71,7 @@ jobs: # Pin action to full-length commit SHA uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: - github-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }} + github-token: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }} script: | const { data: pr } = await github.rest.pulls.get({ 'owner': context.repo.owner, @@ -96,7 +96,7 @@ jobs: # Pin action to full length commit SHA uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: - github-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }} + github-token: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }} script: | await github.rest.issues.addLabels({ 'owner': context.repo.owner, @@ -111,7 +111,7 @@ jobs: # Pin action to full length commit SHA uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: - github-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }} + github-token: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }} script: | await github.rest.issues.addLabels({ 'owner': context.repo.owner, @@ -126,7 +126,7 @@ jobs: # Pin action to full length commit SHA uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: - github-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }} + github-token: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }} script: | try { await github.rest.issues.removeLabel({ @@ -144,7 +144,7 @@ jobs: if: ${{ github.event.action == 'labeled' && github.event.label.name == 'Ready To Merge' }} uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: - github-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }} + github-token: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }} script: | const labelsToRemove = [ 'Needs Review', 'Needs Changes' ]; for ( const label of labelsToRemove ) { @@ -166,7 +166,7 @@ jobs: # Pin action to full length commit SHA uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: - github-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }} + github-token: ${{ secrets.STDLIB_BOT_FGPAT_PR_WRITE }} script: | const prAuthor = context.payload.pull_request.user.login; const { owner, repo } = context.repo; diff --git a/.github/workflows/markdown_equations.yml b/.github/workflows/markdown_equations.yml index 6e3293537d73..aba0d079db16 100644 --- a/.github/workflows/markdown_equations.yml +++ b/.github/workflows/markdown_equations.yml @@ -163,7 +163,7 @@ jobs: commit-message: 'docs: update Markdown equation elements' committer: 'stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>' signoff: true - token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} labels: | documentation automated-pr diff --git a/.github/workflows/markdown_pkg_urls.yml b/.github/workflows/markdown_pkg_urls.yml index ae7a0f464c78..6fd6c05c8883 100644 --- a/.github/workflows/markdown_pkg_urls.yml +++ b/.github/workflows/markdown_pkg_urls.yml @@ -151,7 +151,7 @@ jobs: commit-message: 'docs: update Markdown stdlib package URLs' committer: 'stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>' signoff: true - token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} labels: | documentation automated-pr diff --git a/.github/workflows/markdown_related_packages.yml b/.github/workflows/markdown_related_packages.yml index 97db718ca672..15590882e4d7 100644 --- a/.github/workflows/markdown_related_packages.yml +++ b/.github/workflows/markdown_related_packages.yml @@ -162,7 +162,7 @@ jobs: commit-message: 'docs: update related packages sections' committer: 'stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>' signoff: true - token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} labels: | documentation automated-pr diff --git a/.github/workflows/markdown_tocs.yml b/.github/workflows/markdown_tocs.yml index c4df17cc91e0..b7278bdc8b05 100644 --- a/.github/workflows/markdown_tocs.yml +++ b/.github/workflows/markdown_tocs.yml @@ -132,7 +132,7 @@ jobs: commit-message: 'docs: update namespace table of contents' signoff: true committer: 'stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>' - token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} labels: | documentation automated-pr diff --git a/.github/workflows/namespace_declarations.yml b/.github/workflows/namespace_declarations.yml index b0285ed6eb22..81e9a52edd04 100644 --- a/.github/workflows/namespace_declarations.yml +++ b/.github/workflows/namespace_declarations.yml @@ -127,7 +127,7 @@ jobs: commit-message: 'feat: update namespace TypeScript declarations' committer: 'stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>' signoff: true - token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} labels: | documentation automated-pr diff --git a/.github/workflows/namespace_exports.yml b/.github/workflows/namespace_exports.yml index 21c1484714fc..ce7e23b3970b 100644 --- a/.github/workflows/namespace_exports.yml +++ b/.github/workflows/namespace_exports.yml @@ -139,7 +139,7 @@ jobs: commit-message: 'feat: update namespace exports' committer: 'stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>' signoff: true - token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} labels: | automated-pr team-reviewers: | diff --git a/.github/workflows/run_tests_coverage.yml b/.github/workflows/run_tests_coverage.yml index 7f320f083dab..e3f562212226 100644 --- a/.github/workflows/run_tests_coverage.yml +++ b/.github/workflows/run_tests_coverage.yml @@ -248,7 +248,7 @@ jobs: # Pin action to full length commit SHA uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: - github-token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + github-token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} script: | const { data: comments } = await github.rest.issues.listComments({ 'issue_number': context.issue.number, @@ -279,7 +279,7 @@ jobs: # Pin action to full length commit SHA uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: - github-token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + github-token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} script: | github.rest.repos.createCommitComment({ 'commit_sha': context.sha, @@ -358,7 +358,7 @@ jobs: # Commit and push changes: - name: 'Commit and push changes' env: - REPO_GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + REPO_GITHUB_TOKEN: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} USER_NAME: stdlib-bot run: | cd ./www-test-code-coverage diff --git a/.github/workflows/update_cli_permissions.yml b/.github/workflows/update_cli_permissions.yml index 22af1c920212..8fa863559ddb 100644 --- a/.github/workflows/update_cli_permissions.yml +++ b/.github/workflows/update_cli_permissions.yml @@ -105,7 +105,7 @@ jobs: signoff: true body: | This PR changes the permissions of project `cli` scripts to be executable. - token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} labels: | automated-pr team-reviewers: | diff --git a/.github/workflows/update_contributors.yml b/.github/workflows/update_contributors.yml index 93c2fbe01607..f19d601ae7c8 100644 --- a/.github/workflows/update_contributors.yml +++ b/.github/workflows/update_contributors.yml @@ -118,7 +118,7 @@ jobs: commit-message: 'docs: update list of contributors' committer: 'stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>' signoff: true - token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} labels: | documentation automated-pr diff --git a/.github/workflows/update_error_databases.yml b/.github/workflows/update_error_databases.yml index 7bbac95091fe..28775be2e5ff 100644 --- a/.github/workflows/update_error_databases.yml +++ b/.github/workflows/update_error_databases.yml @@ -166,7 +166,7 @@ jobs: commit-message: 'feat: update error databases' committer: 'stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>' signoff: true - token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} labels: | documentation automated-pr diff --git a/.github/workflows/update_package_meta_data.yml b/.github/workflows/update_package_meta_data.yml index 92bb4af0753e..3d42bef1a017 100644 --- a/.github/workflows/update_package_meta_data.yml +++ b/.github/workflows/update_package_meta_data.yml @@ -119,7 +119,7 @@ jobs: commit-message: 'chore: update package meta data' committer: 'stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>' signoff: true - token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} labels: | automated-pr team-reviewers: | diff --git a/.github/workflows/update_repl_docs.yml b/.github/workflows/update_repl_docs.yml index 9709b0a44b4b..e2ae795241be 100644 --- a/.github/workflows/update_repl_docs.yml +++ b/.github/workflows/update_repl_docs.yml @@ -124,7 +124,7 @@ jobs: commit-message: 'docs: update REPL namespace documentation' committer: 'stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>' signoff: true - token: ${{ secrets.STDLIB_BOT_FGPAT_REPO_WRITE }} + token: ${{ secrets.STDLIB_BOT_PAT_REPO_WRITE }} labels: | documentation automated-pr