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"' 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' 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"' 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 }} 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"' 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"' 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' 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"'