aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/auto-assign-issues.yml
blob: b8ceab46db78cd8e25e253ad9d3774d9c96fe819 (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
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'
              with:
                  project: "https://github.com/williamboman/nvim-lsp-installer/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-server-request')
              with:
                issue-number: ${{ github.event.issue.number }}
                body: |
                    Hello! Cool! Pull requests are always very welcomed to add new servers. If the distribution of the
                    server is simple, the installation will most likely be so as well (existing server installers may be
                    used for reference!). Otherwise, @williamboman will get around to looking into this ASAP!