v / .github / workflows / add-voting-info.yml
25 lines · 23 sloc · 733 bytes · 48a1d6cc6c39e042000f37b4facff0515f0bea8c
Raw
1name: Add voting info to new issue
2
3on:
4 issues:
5 types:
6 - opened
7
8jobs:
9 add-voting-info:
10 runs-on: ubuntu-latest
11 permissions:
12 issues: write
13 steps:
14 - name: Append voting info to issue body
15 uses: julien-deramond/update-issue-body@v1
16 with:
17 issue-number: ${{ github.event.issue.number }}
18 body: |
19 > [!NOTE]
20 > You can use the 👍 reaction to increase the issue's priority for developers.
21 >
22 > Please note that only the 👍 reaction to the issue itself counts as a vote.
23 > Other reactions and those to comments will not be taken into account.
24 edit-mode: append
25 append-separator: newline
26