Skip to content

Commit

Permalink
chore: remove tokens (#6460)
Browse files Browse the repository at this point in the history
* chore: remove tokens

* chore: remove tokens
  • Loading branch information
LingyuCoder authored May 7, 2024
1 parent 0f232ef commit dda7f49
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ jobs:
owner: ${{ github.repository_owner }}
repo: "rspack-ecosystem-benchmark"
workflow_file_name: "bench_rspack_commit.yml"
github_token: ${{ secrets.RSPACK_BOT_ACCESS_TOKEN }}
github_token: ${{ secrets.RSPACK_ACCESS_TOKEN }}
ref: "main"
client_payload: '{"commit_sha":"${{ github.sha }}"}'

Expand All @@ -333,7 +333,7 @@ jobs:
owner: ${{ github.repository_owner }}
repo: "rspack-ecosystem-ci"
workflow_file_name: "ecosystem-ci-from-commit.yml"
github_token: ${{ secrets.ECOSYSTEM_CI_ACCESS_TOKEN }}
github_token: ${{ secrets.RSPACK_ACCESS_TOKEN }}
ref: "main"
client_payload: '{"commitSHA":"${{ github.sha }}","repo":"web-infra-dev/rspack","suite":"-","suiteRefType":"precoded","suiteRef":"precoded"}'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/diff.yml.bak
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Upload Report
shell: bash
env:
API_TOKEN_GITHUB: ${{ secrets.RSPACK_REPORT_ACCESS_TOKEN }}
API_TOKEN_GITHUB: ${{ secrets.RSPACK_ACCESS_TOKEN }}
run: |
cache_dir="$HOME/.cache/diff_upload"
clone_dir="$cache_dir/${{ github.run_id }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ecosystem-ci-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
env:
COMMENT: ${{ github.event.comment.body }}
with:
github-token: ${{ secrets.ECOSYSTEM_CI_ACCESS_TOKEN }}
github-token: ${{ secrets.RSPACK_ACCESS_TOKEN }}
result-encoding: string
script: |
const comment = process.env.COMMENT.trim()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-issue-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# This is a Personal Access Token and it needs to have the following permissions
# - "read:org": used to read the project's board
# - "write:org": used to assign issues to the project's board
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
PROJECT_TOKEN: ${{ secrets.RSPACK_ACCESS_TOKEN }}
# The number of the project which the issues will be synced to
# You can find this in https://github.com/orgs/@ORGANIZATION/projects/<NUMBER>
project: 12
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
steps:
- uses: actions/github-script@v7
with:
github-token: ${{ secrets.ECOSYSTEM_CI_ACCESS_TOKEN }}
github-token: ${{ secrets.RSPACK_ACCESS_TOKEN }}
script: |
const result = await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
Expand Down

2 comments on commit dda7f49

@rspack-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Ran ecosystem CI: Open

suite result
modernjs, self-hosted, Linux, ci, ec2-linux ❌ failure
_selftest, ubuntu-latest ✅ success
nx, ubuntu-latest ✅ success
rspress, ubuntu-latest ✅ success
rsbuild, ubuntu-latest ✅ success
compat, ubuntu-latest ✅ success
examples, ubuntu-latest ✅ success

@rspack-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Benchmark detail: Open

Name Base (2024-05-06 42527c5) Current Change
10000_development-mode + exec 2.77 s ± 40 ms 2.77 s ± 23 ms +0.06 %
10000_development-mode_hmr + exec 684 ms ± 3.9 ms 690 ms ± 5.3 ms +0.90 %
10000_production-mode + exec 2.5 s ± 26 ms 2.51 s ± 17 ms +0.40 %
arco-pro_development-mode + exec 2.61 s ± 43 ms 2.54 s ± 59 ms -2.38 %
arco-pro_development-mode_hmr + exec 429 ms ± 2.9 ms 431 ms ± 1.6 ms +0.47 %
arco-pro_development-mode_hmr_intercept-plugin + exec 441 ms ± 2 ms 443 ms ± 1.7 ms +0.39 %
arco-pro_development-mode_intercept-plugin + exec 3.37 s ± 64 ms 3.35 s ± 107 ms -0.49 %
arco-pro_production-mode + exec 4.08 s ± 57 ms 4.04 s ± 108 ms -0.88 %
arco-pro_production-mode_intercept-plugin + exec 4.87 s ± 55 ms 4.8 s ± 155 ms -1.44 %
threejs_development-mode_10x + exec 2.09 s ± 23 ms 2.05 s ± 28 ms -1.84 %
threejs_development-mode_10x_hmr + exec 760 ms ± 16 ms 772 ms ± 4.8 ms +1.55 %
threejs_production-mode_10x + exec 5.16 s ± 26 ms 5.2 s ± 34 ms +0.70 %

Please sign in to comment.