From c28f0a3516f61bf8903d7985bdfd337ae3c7ee7f Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Wed, 27 Nov 2024 10:28:47 -0500 Subject: [PATCH 1/4] Update issue/PR processing --- .github/workflows/blazor-issue-processing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/blazor-issue-processing.yml b/.github/workflows/blazor-issue-processing.yml index 28ddc0351ad7..501346f6f507 100644 --- a/.github/workflows/blazor-issue-processing.yml +++ b/.github/workflows/blazor-issue-processing.yml @@ -22,8 +22,8 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: `### ๐Ÿ‚๐ŸŽƒ๐Ÿฎ *Autumn Skies and Pumpkin Pies!* ๐Ÿฅงโ˜•๐Ÿ‚ - Stand by! A green dinosaur ๐Ÿฆ– will arrive shortly to assist.` + body: `### ๐Ÿ‚๐ŸŽƒ๐Ÿฎ *OOF: Back on Monday, 12/2* ๐Ÿฅงโ˜•๐Ÿ‚ + Stand by! We're out of the office for the Thanksgiving holiday ๐Ÿฆƒ. A green dinosaur ๐Ÿฆ– will be back on Monday (12/2) to assist.` }) await github.rest.issues.addLabels({ issue_number: context.issue.number, From 8462fa39024f09783b580094070081b9be7f7877 Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Wed, 27 Nov 2024 10:47:34 -0500 Subject: [PATCH 2/4] Updates --- .github/workflows/blazor-pr-processing.yml | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/blazor-pr-processing.yml diff --git a/.github/workflows/blazor-pr-processing.yml b/.github/workflows/blazor-pr-processing.yml new file mode 100644 index 000000000000..c38e728bdbf9 --- /dev/null +++ b/.github/workflows/blazor-pr-processing.yml @@ -0,0 +1,24 @@ +name: Issue processing +on: + pull_request: + types: + [review_requested] +jobs: + process-blazor-pr: + if: ${{ github.event.requested_reviewer.login == 'guardrex' }} + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: actions/github-script@v6 + with: + script: | + await github.rest.issues.createComment({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: `### ๐Ÿ‚๐ŸŽƒ๐Ÿฎ *OOF: Back on Monday, 12/2* ๐Ÿฅงโ˜•๐Ÿ‚ + Stand by! We're out of the office for the Thanksgiving holiday ๐Ÿฆƒ. + + A green dinosaur ๐Ÿฆ– will be back on Monday (12/2) to assist.` + }) From 7cf23bd9b49c0c00a4dd524ca1312f7fd0dd4d80 Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Wed, 27 Nov 2024 10:48:30 -0500 Subject: [PATCH 3/4] Updates --- .github/workflows/blazor-issue-processing.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/blazor-issue-processing.yml b/.github/workflows/blazor-issue-processing.yml index 501346f6f507..db6f0741fe40 100644 --- a/.github/workflows/blazor-issue-processing.yml +++ b/.github/workflows/blazor-issue-processing.yml @@ -23,7 +23,9 @@ jobs: owner: context.repo.owner, repo: context.repo.repo, body: `### ๐Ÿ‚๐ŸŽƒ๐Ÿฎ *OOF: Back on Monday, 12/2* ๐Ÿฅงโ˜•๐Ÿ‚ - Stand by! We're out of the office for the Thanksgiving holiday ๐Ÿฆƒ. A green dinosaur ๐Ÿฆ– will be back on Monday (12/2) to assist.` + Stand by! We're out of the office for the Thanksgiving holiday ๐Ÿฆƒ. + + A green dinosaur ๐Ÿฆ– will be back on Monday (12/2) to assist.` }) await github.rest.issues.addLabels({ issue_number: context.issue.number, From 42d0a877e4cc9569856f3c2c6e5dbfc43affb54b Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Wed, 27 Nov 2024 10:48:56 -0500 Subject: [PATCH 4/4] Updates --- .github/workflows/blazor-pr-processing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blazor-pr-processing.yml b/.github/workflows/blazor-pr-processing.yml index c38e728bdbf9..0e6d51f49827 100644 --- a/.github/workflows/blazor-pr-processing.yml +++ b/.github/workflows/blazor-pr-processing.yml @@ -1,4 +1,4 @@ -name: Issue processing +name: PR processing on: pull_request: types: