Skip to content

Commit

Permalink
fix: OR query
Browse files Browse the repository at this point in the history
  • Loading branch information
Okabe-Junya committed Aug 31, 2023
1 parent 9edb443 commit 07da099
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/metrics-multi-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,16 @@ jobs:
echo "$first_day..$last_day"
echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV"
- name: Get issue metrics (repo1)
- name: Get issue metrics repo
uses: github/issue-metrics@v2
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SEARCH_QUERY: 'repo:Okabe-Junya/sandbox is:issue created:${{ env.last_month }} -reason:"not planned"'

- name: Get issue metrics (repo2)
uses: github/issue-metrics@v2
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SEARCH_QUERY: 'repo:Okabe-Junya/dotfiles is:issue created:${{ env.last_month }} -reason:"not planned"'
SEARCH_QUERY: 'repo:Okabe-Junya/sandbox OR repo:Okabe-Junya/dotfiles is:issue created:${{ env.last_month }} -reason:"not planned"'

- name: Create issue
uses: peter-evans/create-issue-from-file@v4
with:
title: Monthly issue metrics report
token: ${{ secrets.GITHUB_TOKEN }}
content-filepath: ./issue_metrics.md
assignees: <YOUR_GITHUB_HANDLE_HERE>
assignees: Okabe-Junya

0 comments on commit 07da099

Please sign in to comment.