File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,20 +28,20 @@ jobs:
28
28
shell : bash
29
29
run : |
30
30
# Calculate the first day of the previous month
31
- first_day=${{ inputs.report_date_start }}
31
+ first_day=${{ inputs.report_date_start }} >> "$GITHUB_ENV"
32
32
33
33
# Calculate the last day of the previous month
34
- last_day=${{ inputs.report_date_end }}
34
+ last_day=${{ inputs.report_date_end }} >> "$GITHUB_ENV"
35
35
36
36
- name : Run issue-metrics tool
37
37
uses : github/issue-metrics@v2
38
38
env :
39
39
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
- SEARCH_QUERY : ' repo:awsdocs/aws-doc-sdk-examples is:issue created:${{ env.last_month }} -reason:"not planned" '
40
+ SEARCH_QUERY : ' repo:awsdocs/aws-doc-sdk-examples created:${{ env.first_day }}..${{ env.last_day }} '
41
41
42
42
- name : Create issue
43
43
uses : peter-evans/create-issue-from-file@v5
44
44
with :
45
- title : Monthly issue metrics report ${{ env.last_month }}
45
+ title : Monthly issue metrics report ${{ env.first_day }} to ${{ env.last_day }}
46
46
token : ${{ secrets.GITHUB_TOKEN }}
47
47
content-filepath : ./issue_metrics.md
You can’t perform that action at this time.
0 commit comments