From 0e0347fbe24c5f3f738db338c48ff90712b351ec Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Tue, 3 Dec 2024 18:04:27 +0100 Subject: [PATCH] upvote --- .github/ISSUE_TEMPLATE/BUG_REPORT.yaml | 7 +++++++ .github/ISSUE_TEMPLATE/enhancement.yaml | 9 +++++++++ .github/workflows/issues.yml | 7 +++++++ .github/workflows/ready_for_review.yml | 1 + 4 files changed, 24 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.yaml b/.github/ISSUE_TEMPLATE/BUG_REPORT.yaml index cc06d5d96b..095585a818 100644 --- a/.github/ISSUE_TEMPLATE/BUG_REPORT.yaml +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.yaml @@ -15,6 +15,7 @@ body: label: Severity description: How severe is the bug? options: + - I don't know - Low (it can wait) - Medium (it should be backlogged) - High (it should be prioritized) @@ -110,3 +111,9 @@ body: attributes: label: Additional Context description: Please add any other infos that could be useful. +- type: markdown + attributes: + value: | + ## Vote for this issue + If you come accross this issue and would like to see it taken care of, please vote with a thumbs up 👍. + If you have any additional thoughts or use cases, please leave a comment. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/enhancement.yaml b/.github/ISSUE_TEMPLATE/enhancement.yaml index ebbb199a97..efd03a752a 100644 --- a/.github/ISSUE_TEMPLATE/enhancement.yaml +++ b/.github/ISSUE_TEMPLATE/enhancement.yaml @@ -13,10 +13,13 @@ body: label: Urgency description: How urgent is this proposal? options: + - I don't know - Low (it can wait) - Medium (it should be backlogged) - High (it should be prioritized) - Critical (it should be worked on immediately) + validations: + required: true - type: checkboxes id: preflight attributes: @@ -63,3 +66,9 @@ body: attributes: label: Additional Context description: Please add any other infos that could be useful. + - type: markdown + attributes: + value: | + ## Vote for this issue + If you come accross this issue and would like to see it taken care of, please vote with a thumbs up 👍. + If you have any additional thoughts or use cases, please leave a comment. diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index 5b1febf989..2ca0e85e30 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -21,6 +21,13 @@ jobs: # to the issue project-url: https://github.com/orgs/zitadel/projects/2 github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + - name: add "thumbs up reaction + if: ${{ github.event_name == 'issues' }} + uses: actions/github-script@v7 + with: + script: | + const { issue: { number: issueNumber }, repository: { owner: { login: owner }, name: repo } } = context.payload; + await github.reactions.createForIssue({ owner, repo, issue_number: issueNumber, content: "+1" }); - uses: tspascoal/get-user-teams-membership@v3 id: checkUserMember if: github.actor != 'dependabot[bot]' diff --git a/.github/workflows/ready_for_review.yml b/.github/workflows/ready_for_review.yml index 9179afab18..c18083d8b1 100644 --- a/.github/workflows/ready_for_review.yml +++ b/.github/workflows/ready_for_review.yml @@ -13,6 +13,7 @@ jobs: How urgent is this PR review for you? Please select one of the following levels: + - [ ] I don't know - [ ] Low (shoud be reviewed on best effort) - [ ] Medium (should be reviewed within 14 days) - [ ] High (should be reviewed within 2 days)