From 1ee3b6342f4a126c688a103832614c6a63436c29 Mon Sep 17 00:00:00 2001 From: 0x5BFA <62196528+0x5bfa@users.noreply.github.com> Date: Sat, 28 Sep 2024 20:07:14 +0900 Subject: [PATCH 1/5] Delete .github/templates/add_to_octokit_project.yml Signed-off-by: 0x5BFA <62196528+0x5bfa@users.noreply.github.com> --- .github/templates/add_to_octokit_project.yml | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .github/templates/add_to_octokit_project.yml diff --git a/.github/templates/add_to_octokit_project.yml b/.github/templates/add_to_octokit_project.yml deleted file mode 100644 index 936e1f4..0000000 --- a/.github/templates/add_to_octokit_project.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Add PRs and issues to Octokit org project - -on: - issues: - types: [reopened, opened] - pull_request_target: - types: [reopened, opened] - -jobs: - add-to-project: - name: Add issue to project - runs-on: ubuntu-latest - continue-on-error: true - steps: - - uses: actions/add-to-project@v1.0.1 - with: - project-url: https://github.com/orgs/octokit/projects/10 - github-token: ${{ secrets.OCTOKITBOT_PROJECT_ACTION_TOKEN }} - labeled: "Status: Stale" - label-operator: NOT From bae2ece7b9ad2201d43668527b5336614c44e64b Mon Sep 17 00:00:00 2001 From: 0x5BFA <62196528+0x5bfa@users.noreply.github.com> Date: Sat, 28 Sep 2024 20:08:51 +0900 Subject: [PATCH 2/5] Update immediate-response.yml Signed-off-by: 0x5BFA <62196528+0x5bfa@users.noreply.github.com> --- .github/templates/immediate-response.yml | 28 ++++++++++++++++++------ 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/.github/templates/immediate-response.yml b/.github/templates/immediate-response.yml index 8a29b20..b0e7ff9 100644 --- a/.github/templates/immediate-response.yml +++ b/.github/templates/immediate-response.yml @@ -1,29 +1,43 @@ +# This comes from https://github.com/octokit/.github/blob/main/.github/templates/immediate-response.yml +# Please edit the workflow in there when you have changes to this workflow. + name: Issue/PR response + permissions: issues: write pull-requests: write + on: issues: - types: - - opened + types: [opened] pull_request_target: - types: - - opened + types: [opened] + jobs: - respond-to-issue: + + respond: if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' && github.actor != 'githubactions[bot]' && github.actor != 'octokitbot' }} runs-on: ubuntu-latest + steps: - name: Determine issue or PR number id: extract run: echo "NUMBER=${{ github.event.issue.number || github.event.pull_request.number }}" >> "$GITHUB_OUTPUT" - - name: Respond to issue or PR + - name: Respond to the issue or PR uses: peter-evans/create-or-update-comment@v4 with: issue-number: ${{ steps.extract.outputs.NUMBER }} - body: > + body: | 👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a [process in place](https://github.com/octokit/.github/blob/main/community/prioritization_response.md#overview) for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with `Status: Up for grabs`. You & others like you are the reason all of this works! So thank you & happy coding! 🚀 + + - name: Add issue to project + uses: actions/add-to-project@v1 + with: + project-url: https://github.com/orgs/octokit/projects/10 + github-token: ${{ secrets.OCTOKITBOT_PROJECT_ACTION_TOKEN }} + labeled: "Status: Stale" + label-operator: NOT From 7a25e1ead75411503e13b16cd808bcd2f47cf2d6 Mon Sep 17 00:00:00 2001 From: Lamparter Date: Sat, 28 Sep 2024 12:26:34 +0100 Subject: [PATCH 3/5] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Update=20`immediate-re?= =?UTF-8?q?sponse.yml`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lamparter --- .github/templates/immediate-response.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/templates/immediate-response.yml b/.github/templates/immediate-response.yml index b0e7ff9..8f46ca3 100644 --- a/.github/templates/immediate-response.yml +++ b/.github/templates/immediate-response.yml @@ -1,5 +1,5 @@ -# This comes from https://github.com/octokit/.github/blob/main/.github/templates/immediate-response.yml -# Please edit the workflow in there when you have changes to this workflow. +# This workflow originates from the Octokit Community Health repo (https://github.com/octokit/.github/blob/main/.github/templates/immediate-response.yml) +# Changes to the workflow are automatically synced downstream, so please make sure to put your suggestions there so that your changes are reflected across all repositories. name: Issue/PR response From 602f7cad100fa5b479bdbc2a097b03d2d179bb67 Mon Sep 17 00:00:00 2001 From: 0x5BFA <62196528+0x5bfa@users.noreply.github.com> Date: Sat, 28 Sep 2024 20:29:55 +0900 Subject: [PATCH 4/5] Update .github/templates/immediate-response.yml Co-authored-by: Lamparter --- .github/templates/immediate-response.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/templates/immediate-response.yml b/.github/templates/immediate-response.yml index 8f46ca3..9badb9d 100644 --- a/.github/templates/immediate-response.yml +++ b/.github/templates/immediate-response.yml @@ -24,7 +24,7 @@ jobs: id: extract run: echo "NUMBER=${{ github.event.issue.number || github.event.pull_request.number }}" >> "$GITHUB_OUTPUT" - - name: Respond to the issue or PR + - name: Respond to issue or PR uses: peter-evans/create-or-update-comment@v4 with: issue-number: ${{ steps.extract.outputs.NUMBER }} From 52139caa46c27a2bb52c821136475d60d8dfe20c Mon Sep 17 00:00:00 2001 From: 0x5BFA <62196528+0x5bfa@users.noreply.github.com> Date: Mon, 30 Sep 2024 16:57:00 +0900 Subject: [PATCH 5/5] Update immediate-response.yml Signed-off-by: 0x5BFA <62196528+0x5bfa@users.noreply.github.com> --- .github/templates/immediate-response.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/templates/immediate-response.yml b/.github/templates/immediate-response.yml index 9badb9d..a61bf64 100644 --- a/.github/templates/immediate-response.yml +++ b/.github/templates/immediate-response.yml @@ -1,5 +1,9 @@ -# This workflow originates from the Octokit Community Health repo (https://github.com/octokit/.github/blob/main/.github/templates/immediate-response.yml) -# Changes to the workflow are automatically synced downstream, so please make sure to put your suggestions there so that your changes are reflected across all repositories. +# This workflow originates from https://github.com/octokit/.github/blob/main/.github/templates/immediate-response.yml + +# NOTE: +# Changes to the workflow are automatically synced downstream, +# so please make sure to put your suggestions there so that +# your changes are reflected across all repositories. name: Issue/PR response