From 2d6192db755af1660e43d71bd6c405c0dfeafb35 Mon Sep 17 00:00:00 2001 From: John Westcott IV Date: Sun, 30 Jan 2022 13:59:37 -0500 Subject: [PATCH 1/3] Adding triage label to any new issue --- .github/issue_labeler.yml | 2 ++ .github/workflows/triage_new.yml | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .github/issue_labeler.yml create mode 100644 .github/workflows/triage_new.yml 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' From 1fb38137dc3fb042e76c85c96f979cf33c01a686 Mon Sep 17 00:00:00 2001 From: John Westcott IV Date: Sun, 30 Jan 2022 14:01:25 -0500 Subject: [PATCH 2/3] Adding Collection and Installer category to issues/prs --- .github/ISSUE_TEMPLATE.md | 1 + .github/PULL_REQUEST_TEMPLATE.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 9a303eec91..22025c120a 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -17,6 +17,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..10aac47119 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -25,6 +25,8 @@ the change does. - API - UI + - Installer + - Collection ##### AWX VERSION From a9a7fac3089bf634d121e76eb3a7cedb69b916d6 Mon Sep 17 00:00:00 2001 From: John Westcott IV Date: Mon, 31 Jan 2022 10:56:59 -0500 Subject: [PATCH 3/3] Removing the Installer option in issues and pr templates --- .github/ISSUE_TEMPLATE.md | 1 - .github/PULL_REQUEST_TEMPLATE.md | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 22025c120a..0a49452fa4 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -16,7 +16,6 @@ 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 10aac47119..cf1025713c 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -25,7 +25,6 @@ the change does. - API - UI - - Installer - Collection ##### AWX VERSION