From 230434139a6392197964c80044630b993d5eee6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Thu, 7 Aug 2025 15:58:49 +0900 Subject: [PATCH 1/4] fix: `add-to-triage` does not work on PRs from fork --- .github/workflows/add-to-triage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/add-to-triage.yml b/.github/workflows/add-to-triage.yml index 8c3472f..658c794 100644 --- a/.github/workflows/add-to-triage.yml +++ b/.github/workflows/add-to-triage.yml @@ -7,7 +7,7 @@ on: - reopened - transferred - pull_request: + pull_request_target: types: - opened - reopened From 05a90ff3f26f082684582fdc9c213d1362d25ebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Thu, 7 Aug 2025 23:18:44 +0900 Subject: [PATCH 2/4] Update stale.yml --- .github/workflows/stale.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 54f42fc..17bf48b 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -6,7 +6,7 @@ on: workflow_call: secrets: - GITHUB_TOKEN: + TOKEN: required: true description: GitHub token to use for the workflow @@ -22,7 +22,7 @@ jobs: - name: Mark stale issues and pull requests uses: actions/stale@v9 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + repo-token: ${{ secrets.TOKEN }} days-before-issue-stale: 30 days-before-pr-stale: 10 days-before-close: 7 From 019d9a11bdde39db16b7f527c12185c63930e4f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Fri, 8 Aug 2025 23:39:09 +0900 Subject: [PATCH 3/4] Update stale.yml --- .github/workflows/stale.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 17bf48b..07ee6b3 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -6,7 +6,7 @@ on: workflow_call: secrets: - TOKEN: + token: required: true description: GitHub token to use for the workflow @@ -22,7 +22,7 @@ jobs: - name: Mark stale issues and pull requests uses: actions/stale@v9 with: - repo-token: ${{ secrets.TOKEN }} + repo-token: ${{ secrets.token }} days-before-issue-stale: 30 days-before-pr-stale: 10 days-before-close: 7 From af8cd1e1c1923b63806902f67e029e7b76fbe612 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Fri, 8 Aug 2025 23:45:42 +0900 Subject: [PATCH 4/4] Update add-to-triage.yml --- .github/workflows/add-to-triage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/add-to-triage.yml b/.github/workflows/add-to-triage.yml index 658c794..59eccb4 100644 --- a/.github/workflows/add-to-triage.yml +++ b/.github/workflows/add-to-triage.yml @@ -14,7 +14,7 @@ on: workflow_call: secrets: - PROJECT_BOT_TOKEN: + project_bot_token: required: true description: Token for the project bot to add issues and pull requests to the project triage board @@ -26,7 +26,7 @@ jobs: - name: Add to triage uses: actions/add-to-project@v1.0.2 with: - github-token: ${{ secrets.PROJECT_BOT_TOKEN }} + github-token: ${{ secrets.project_bot_token }} project-url: https://github.com/orgs/eslint/projects/3 labeled: "triage:no" # Add all issues and pull requests that don't include "triage:no" label. label-operator: NOT