diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 9a303eec91..0a49452fa4 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -16,7 +16,7 @@ https://www.ansible.com/security - API - UI - - Installer + - Collection ##### SUMMARY diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 225c377745..cf1025713c 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -25,6 +25,7 @@ the change does. - API - UI + - Collection ##### AWX VERSION diff --git a/.github/issue_labeler.yml b/.github/issue_labeler.yml new file mode 100644 index 0000000000..0821bc8fee --- /dev/null +++ b/.github/issue_labeler.yml @@ -0,0 +1,2 @@ +needs_triage: + - '.*' diff --git a/.github/workflows/triage_new.yml b/.github/workflows/triage_new.yml new file mode 100644 index 0000000000..f032d1930a --- /dev/null +++ b/.github/workflows/triage_new.yml @@ -0,0 +1,21 @@ +name: Triage + +on: + issues: + types: + - opened + +jobs: + triage: + runs-on: ubuntu-latest + name: Label + + steps: + - name: Label issues + uses: github/issue-labeler@v2.4.1 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + not-before: 2021-12-07T07:00:00Z + configuration-path: .github/issue_labeler.yml + enable-versioned-regex: 0 + if: github.event_name == 'issues'