From 140ce3548c6819a09969c19bbd62f9e838da8643 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Mon, 20 Jan 2025 14:17:45 +0100 Subject: [PATCH] build: remove thank you bot Once again beaten by security. Signed-off-by: Daniel Wagner --- .github/workflows/thanks.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/thanks.yml diff --git a/.github/workflows/thanks.yml b/.github/workflows/thanks.yml deleted file mode 100644 index 15c00bdf..00000000 --- a/.github/workflows/thanks.yml +++ /dev/null @@ -1,30 +0,0 @@ ---- -name: Comment on Merged PR - -on: - pull_request: - types: - - closed - -jobs: - comment-on-merge: - if: github.event.pull_request.merged == true - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - - steps: - - name: Comment on merged PR - uses: actions/github-script@v7 - with: - script: | - const prNumber = context.payload.pull_request.number; - const comment = 'Thanks for your contribution!'; - - await github.rest.issues.createComment({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: prNumber, - body: comment, - }); -- 2.50.1