diff --git a/.github/workflows/auto-comment-pr.yml b/.github/workflows/auto-comment-pr.yml index 4315499..8889722 100644 --- a/.github/workflows/auto-comment-pr.yml +++ b/.github/workflows/auto-comment-pr.yml @@ -8,6 +8,8 @@ on: pull_request_target: types: [ opened, synchronize ] branches: [ main ] +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true jobs: comment: @@ -20,7 +22,7 @@ jobs: - name: Create a comment uses: actions/github-script@v7 with: - github-token: ${{ secrets.BOT_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { owner, repo, number: issue_number } = context.issue; diff --git a/.github/workflows/auto_merge.yml b/.github/workflows/auto_merge.yml index ead02cc..0a495a8 100644 --- a/.github/workflows/auto_merge.yml +++ b/.github/workflows/auto_merge.yml @@ -10,6 +10,9 @@ on: types: - completed status: { } +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + jobs: automerge: runs-on: ubuntu-latest @@ -20,7 +23,7 @@ jobs: - name: automerge uses: "pascalgn/automerge-action@v0.16.4" env: - GITHUB_TOKEN: "${{ secrets.BOT_TOKEN }}" + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" MERGE_LABELS: "approved,auto merge,!ready to review" MERGE_METHOD: "squash" MERGE_COMMIT_MESSAGE: "automatic" diff --git a/.github/workflows/auto_request_review.yml b/.github/workflows/auto_request_review.yml.disabled similarity index 91% rename from .github/workflows/auto_request_review.yml rename to .github/workflows/auto_request_review.yml.disabled index e57172d..4d1497a 100644 --- a/.github/workflows/auto_request_review.yml +++ b/.github/workflows/auto_request_review.yml.disabled @@ -9,6 +9,9 @@ on: types: [ opened, ready_for_review, reopened, synchronize ] branches: [ main ] +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + jobs: auto-request-review: name: Auto Request Review @@ -17,7 +20,7 @@ jobs: - name: Request review based on files changes and/or groups the author belongs to uses: necojackarc/auto-request-review@v0.13.0 with: - token: ${{ secrets.BOT_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} config: .github/reviewers.yml # Config file location override # Look for config locally during run instead of in repo # For instance, if you'd like to use a config file stored in external storage, diff --git a/.github/workflows/github-actions-pages.yml b/.github/workflows/github-actions-pages.yml index e94668d..fc37b01 100644 --- a/.github/workflows/github-actions-pages.yml +++ b/.github/workflows/github-actions-pages.yml @@ -6,6 +6,8 @@ on: - 'main' - 'master' workflow_dispatch: +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true jobs: deploy: diff --git "a/RIP\350\214\225\347\276\212&\346\237\240\346\252\254\345\260\217\345\212\251\346\211\213&Node.js-20.txt" "b/RIP\350\214\225\347\276\212&\346\237\240\346\252\254\345\260\217\345\212\251\346\211\213&Node.js-20.txt" new file mode 100644 index 0000000..f385d84 --- /dev/null +++ "b/RIP\350\214\225\347\276\212&\346\237\240\346\252\254\345\260\217\345\212\251\346\211\213&Node.js-20.txt" @@ -0,0 +1,4 @@ +柠檬小助手已死(token没有了,应该是被山羊删了) +Node.js 20要删了,把workflow修了一下 +没有人审核代码了,把分配审核代码的workflow删了 +RIP 茕羊