From 2e3a8c862c29411519ecc1d2980dea2fd2cbf9ee Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Tue, 26 Mar 2024 16:10:34 -0700 Subject: [PATCH 1/8] switch to v3 --- docs/search-query.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/search-query.md b/docs/search-query.md index 61c5c89..64a43f6 100644 --- a/docs/search-query.md +++ b/docs/search-query.md @@ -64,7 +64,7 @@ jobs: steps: - name: Run issue-metrics tool for issues and prs opened in May 2023 - uses: github/issue-metrics@v2 + uses: github/issue-metrics@v3 env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} SEARCH_QUERY: 'repo:owner/repo created:2023-05-01..2023-05-31 -reason:"not planned"' @@ -78,7 +78,7 @@ jobs: assignees: - name: Run issue-metrics tool for issues and prs closed in May 2023 - uses: github/issue-metrics@v2 + uses: github/issue-metrics@v3 env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} SEARCH_QUERY: 'repo:owner/repo closed:2023-05-01..2023-05-31 -reason:"not planned"' From 70fe26000eae8853d503003e32c0a5f636d39fbd Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Tue, 26 Mar 2024 16:11:33 -0700 Subject: [PATCH 2/8] v3 bump --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 3e5aa54..73a9942 100644 --- a/action.yml +++ b/action.yml @@ -4,7 +4,7 @@ author: 'github' description: 'A GitHub Action to report out issue metrics' runs: using: 'docker' - image: 'docker://ghcr.io/github/issue_metrics:v2' + image: 'docker://ghcr.io/github/issue_metrics:v3' branding: icon: 'check-square' color: 'white' From db515204fefa76b73d04dc52e07ea6bb2f587ac6 Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Tue, 26 Mar 2024 16:12:01 -0700 Subject: [PATCH 3/8] v3 bump --- docs/assign-team-instead-of-individual.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/assign-team-instead-of-individual.md b/docs/assign-team-instead-of-individual.md index 9581a13..57f0f0d 100644 --- a/docs/assign-team-instead-of-individual.md +++ b/docs/assign-team-instead-of-individual.md @@ -46,7 +46,7 @@ jobs: echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV" - name: Run issue-metrics tool - uses: github/issue-metrics@v2 + uses: github/issue-metrics@v3 env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} SEARCH_QUERY: 'repo:owner/repo is:issue created:${{ env.last_month }} -reason:"not planned"' From 8c40575e9caae3eae71f69416303678a32b9a4db Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Tue, 26 Mar 2024 16:12:53 -0700 Subject: [PATCH 4/8] v3 bump --- docs/authenticating-with-github-app-installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/authenticating-with-github-app-installation.md b/docs/authenticating-with-github-app-installation.md index ed62042..3ba2e3f 100644 --- a/docs/authenticating-with-github-app-installation.md +++ b/docs/authenticating-with-github-app-installation.md @@ -38,7 +38,7 @@ jobs: echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV" - name: Run issue-metrics tool - uses: github/issue-metrics@v2 + uses: github/issue-metrics@v3 env: GH_APP_ID: ${{ secrets.GITHUB_APP_ID }} GH_APP_INSTALLATION_ID: ${{ secrets.GITHUB_APP_INSTALLATION_ID }} From ed3b12eb33141d3670aab43565c03bd1668dd81a Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Tue, 26 Mar 2024 16:13:33 -0700 Subject: [PATCH 5/8] v3 bump --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ec7442a..f18668c 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ jobs: echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV" - name: Run issue-metrics tool - uses: github/issue-metrics@v2 + uses: github/issue-metrics@v3 env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} SEARCH_QUERY: 'repo:owner/repo is:issue created:${{ env.last_month }} -reason:"not planned"' From 811a810c57824ccfb5afb5942762578130a80c70 Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Tue, 26 Mar 2024 16:14:23 -0700 Subject: [PATCH 6/8] v3 bump --- docs/measure-time.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/measure-time.md b/docs/measure-time.md index cfa86e2..fb64bcb 100644 --- a/docs/measure-time.md +++ b/docs/measure-time.md @@ -25,7 +25,7 @@ jobs: steps: - name: Run issue-metrics tool - uses: github/issue-metrics@v2 + uses: github/issue-metrics@v3 env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} LABELS_TO_MEASURE: 'waiting-for-manager-approval,waiting-for-security-review' From f090ae3a28fdb77cfb6142d2799ef9fbf8e78d12 Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Tue, 26 Mar 2024 16:14:46 -0700 Subject: [PATCH 7/8] v3 bump --- docs/example-using-json-instead-markdown-output.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/example-using-json-instead-markdown-output.md b/docs/example-using-json-instead-markdown-output.md index 7d82fcd..3995b0f 100644 --- a/docs/example-using-json-instead-markdown-output.md +++ b/docs/example-using-json-instead-markdown-output.md @@ -23,7 +23,7 @@ jobs: steps: - name: Run issue-metrics tool id: issue-metrics - uses: github/issue-metrics@v2 + uses: github/issue-metrics@v3 env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} SEARCH_QUERY: 'repo:owner/repo is:issue created:2023-05-01..2023-05-31 -reason:"not planned"' From a0261dfa7d020810468e4ad17bb7754d01972426 Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Tue, 26 Mar 2024 16:15:56 -0700 Subject: [PATCH 8/8] v3 bump --- docs/example-workflows.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/example-workflows.md b/docs/example-workflows.md index 6965632..c0ee9d7 100644 --- a/docs/example-workflows.md +++ b/docs/example-workflows.md @@ -38,7 +38,7 @@ jobs: echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV" - name: Run issue-metrics tool - uses: github/issue-metrics@v2 + uses: github/issue-metrics@v3 env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} SEARCH_QUERY: 'repo:owner/repo is:issue created:${{ env.last_month }} -reason:"not planned"' @@ -76,7 +76,7 @@ jobs: steps: - name: Run issue-metrics tool - uses: github/issue-metrics@v2 + uses: github/issue-metrics@v3 env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} SEARCH_QUERY: 'repo:owner/repo is:issue created:2023-05-01..2023-05-31 -reason:"not planned"' @@ -126,7 +126,7 @@ jobs: echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV" - name: Get issue metrics - uses: github/issue-metrics@v2 + uses: github/issue-metrics@v3 env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} SEARCH_QUERY: 'repo:owner/repo1 repo:owner/repo2 is:issue created:${{ env.last_month }} -reason:"not planned"'