Skip to content

Commit

Permalink
Fix the boilerplate for issue-metrics.yml
Browse files Browse the repository at this point in the history
accidentally still using an example, also upgraded the create flow to v5 from v4
  • Loading branch information
mikaelacaron committed Jul 26, 2024
1 parent e11141c commit d3e30ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/issue-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
uses: github/issue-metrics@v3
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SEARCH_QUERY: 'repo:owner/repo created:${{ env.prev_week }}'
SEARCH_QUERY: 'mikaelacaron/Basic-Car-Maintenance created:${{ env.prev_week }}'

- name: Create issue for opened issues and PRs last week
uses: peter-evans/create-issue-from-file@v4
uses: peter-evans/create-issue-from-file@v5
with:
title: Weekly issue metrics report for opened issues and PRs
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -44,10 +44,10 @@ jobs:
uses: github/issue-metrics@v3
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SEARCH_QUERY: 'repo:owner/repo closed:${{ env.prev_week }}'
SEARCH_QUERY: 'mikaelacaron/Basic-Car-Maintenance closed:${{ env.prev_week }}'

- name: Create issue for closed issues and prs
uses: peter-evans/create-issue-from-file@v4
uses: peter-evans/create-issue-from-file@v5
with:
title: Monthly issue metrics report for closed issues and prs
content-filepath: ./issue_metrics.md
Expand Down

0 comments on commit d3e30ac

Please sign in to comment.