blob: 8cc7a238ccc6e1677b03c7d787b32dba1e1a735c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
name: Automatically assign issues to Issue Triaging project
on:
issues:
types: [opened]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
assign-issue:
runs-on: ubuntu-latest
name: Assign to Issue Triaging prjoect
steps:
- name: Assign new issues to triaging project
uses: srggrs/assign-one-project-github-action@1.2.1
if: github.event.action == 'opened'
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
with:
project: "https://github.com/williamboman/mason.nvim/projects/1"
column_name: "Needs triage"
- name: Create a PR comment
uses: peter-evans/create-or-update-comment@v1
if: contains(github.event.issue.labels.*.name, 'new-package-request')
with:
token: ${{ secrets.PAT }}
issue-number: ${{ github.event.issue.number }}
body: |
Hello! Pull requests are always very welcomed to add new packages. If the distribution of the package is simple, the installation will most likely be so as well. See [CONTRIBUTING.md](https://github.com/williamboman/mason.nvim/blob/main/CONTRIBUTING.md) and the [API reference](https://github.com/williamboman/mason.nvim/blob/main/doc/reference.md) for more details! You may also use existing packages as reference.
|