From 23d2370041839a632458b1ccefa01452ad3bb8ac Mon Sep 17 00:00:00 2001 From: Pietro Monticone <38562595+pitmonticone@users.noreply.github.com> Date: Tue, 22 Oct 2024 15:26:25 +0200 Subject: [PATCH] update workflows --- .github/workflows/01-claim-issue.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/01-claim-issue.yml b/.github/workflows/01-claim-issue.yml index fdbdc0c6..e78b5618 100644 --- a/.github/workflows/01-claim-issue.yml +++ b/.github/workflows/01-claim-issue.yml @@ -84,7 +84,7 @@ jobs: COMMENT_RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" -X POST \ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -H "Content-Type: application/json" \ - -d '{"body": "This issue cannot be assigned to @${{ github.event.comment.user.login }} because it has not been added to the project board by the project maintainers.\n\nPlease consider discussing the issue on our [Zulip channel](https://leanprover.zulipchat.com/#narrow/stream/416277-FLT). To understand the contribution process, please read the [CONTRIBUTING guide](https://github.com/teorth/equational_theories/blob/main/CONTRIBUTING.md)."}' \ + -d '{"body": "This issue cannot be assigned to @${{ github.event.comment.user.login }} because it has not been added to the project board by the project maintainers.\n\nPlease consider discussing the issue on our [Zulip channel](https://leanprover.zulipchat.com/#narrow/stream/416277-FLT). To understand the contribution process, please read the [CONTRIBUTING guide](https://github.com/ImperialCollegeLondon/FLT/blob/main/CONTRIBUTING.md)."}' \ https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments) if [ "$COMMENT_RESPONSE" -eq 201 ]; then @@ -113,7 +113,7 @@ jobs: if [ "$CURRENT_STATUS_ID" != "$UNCLAIMED_TASKS_ID" ]; then echo "Issue is not classified as 'Unclaimed'. Posting comment." curl -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ - -d '{"body": "This issue cannot be assigned to @${{ github.event.comment.user.login }} because it has not been classified as an \"Unclaimed Outstanding Task\" by the project maintainers.\n\nPlease consider discussing the issue on our [Zulip channel](https://leanprover.zulipchat.com/#narrow/stream/416277-FLT). To understand the contribution process, please read the [CONTRIBUTING guide](https://github.com/teorth/equational_theories/blob/main/CONTRIBUTING.md)."}' \ + -d '{"body": "This issue cannot be assigned to @${{ github.event.comment.user.login }} because it has not been classified as an \"Unclaimed Outstanding Task\" by the project maintainers.\n\nPlease consider discussing the issue on our [Zulip channel](https://leanprover.zulipchat.com/#narrow/stream/416277-FLT). To understand the contribution process, please read the [CONTRIBUTING guide](https://github.com/ImperialCollegeLondon/FLT/blob/main/CONTRIBUTING.md)."}' \ https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments exit 1 fi