From 40d68bbc6c41a6c9a56e7d76bb0de2bc714ef816 Mon Sep 17 00:00:00 2001 From: Jimmy Royer Date: Thu, 7 Dec 2023 15:28:54 -0500 Subject: [PATCH 1/2] Testing out a github action to count incident actions --- .github/workflows/count-incident-actions.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/count-incident-actions.yml diff --git a/.github/workflows/count-incident-actions.yml b/.github/workflows/count-incident-actions.yml new file mode 100644 index 0000000..bd6ba08 --- /dev/null +++ b/.github/workflows/count-incident-actions.yml @@ -0,0 +1,20 @@ +name: Count Issues + +on: + # Triggers the workflow on push or pull request events but only for the main branch + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + count_issues: + runs-on: ubuntu-latest + + steps: + - name: Count Incident Action issues + uses: kazupon/issue-count-action + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + labels: 'Incident Action' + state: open \ No newline at end of file From 37ad1200c3ece6f0c79be43e0c172693dca1c309 Mon Sep 17 00:00:00 2001 From: Jimmy Royer Date: Thu, 7 Dec 2023 15:32:24 -0500 Subject: [PATCH 2/2] Add github action SHA ID --- .github/workflows/count-incident-actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/count-incident-actions.yml b/.github/workflows/count-incident-actions.yml index bd6ba08..cc1726f 100644 --- a/.github/workflows/count-incident-actions.yml +++ b/.github/workflows/count-incident-actions.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Count Incident Action issues - uses: kazupon/issue-count-action + uses: kazupon/issue-count-action@284ff91974f64c6ac7192a394d895434eabee85f with: github-token: ${{ secrets.GITHUB_TOKEN }} labels: 'Incident Action'