From 7313048053bcc532a2e8f81d316814a43387b9d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D7=A0=CF=85=CE=B1=CE=B7=20=D7=A0=CF=85=CE=B1=CE=B7=D1=95?= =?UTF-8?q?=CF=83=CE=B7?= Date: Sat, 5 Dec 2026 20:02:33 -0800 Subject: [PATCH] chore(ci): drop pull_request_target workflows GitHub now blocks pull_request_target on public repositories by default, so each Labeler and Greetings run failed at startup from 4 December 2026 and sent a failure email. The labeler runs on pull_request. Each pull request here comes from a branch of the same repository, so its token can write labels. The greetings workflow welcomed first-time contributors, which this organization does not have, so it is deleted. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/greetings.yml | 30 ------------------------------ .github/workflows/labeler.yml | 2 +- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 .github/workflows/greetings.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml deleted file mode 100644 index 9f3e5c3..0000000 --- a/.github/workflows/greetings.yml +++ /dev/null @@ -1,30 +0,0 @@ ---- -name: Greetings - -on: [pull_request_target, issues] - -permissions: - issues: write - pull-requests: write - -jobs: - greeting: - runs-on: ubuntu-latest - steps: - # The month has to come from somewhere. Earlier revisions branched on - # env.month, which nothing ever set, so the Hacktoberfest message was - # unreachable even in October. - - name: Work out the month - id: when - run: echo "month=$(date -u +%b)" >> "$GITHUB_OUTPUT" - - uses: actions/first-interaction@1c4688942c71f71d4f5502a26ea67c331730fa4d # v3.1.0 - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - issue_message: >- - ${{ steps.when.outputs.month == 'Oct' - && 'Thank you for your first issue! Happy Hacktoberfest!!! đŸŽƒđŸ‘•đŸ•šī¸' - || 'Thank you for your first issue! đŸ˜ŠđŸ•šī¸' }} - pr_message: >- - ${{ steps.when.outputs.month == 'Oct' - && 'Thank you for contributing to this project. Happy Hacktoberfest!!! đŸŽƒđŸ‘•đŸ•šī¸' - || 'Thank you for contributing to this project! đŸ˜ŠđŸ•šī¸' }} diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 9837604..cd16077 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,7 +1,7 @@ --- name: Labeler on: - - pull_request_target + - pull_request jobs: triage: