mirror of
https://github.com/vlang/v.git
synced 2025-09-09 07:15:50 -04:00
github: add automatically info about voting to all new issues (#19351)
This commit is contained in:
parent
d93488b141
commit
6f61d8ba78
26
.github/workflows/add-voting-info.yml
vendored
Normal file
26
.github/workflows/add-voting-info.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: Add voting info to new issue
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- opened
|
||||
|
||||
jobs:
|
||||
add-voting-info:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
steps:
|
||||
- name: Append voting info to issue body
|
||||
uses: julien-deramond/update-issue-body@v1
|
||||
with:
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
body: |
|
||||
> [!IMPORTANT]
|
||||
> You can vote for this issue using the 👍 reaction. More votes increase the issue's priority
|
||||
> for developers.
|
||||
>
|
||||
> Take into account that only the 👍 reaction counts as a vote.
|
||||
> Only reactions to the issue itself will be counted as votes, not comments.
|
||||
edit-mode: append
|
||||
append-separator: newline
|
Loading…
x
Reference in New Issue
Block a user