1
1
version : 2.1
2
2
orbs :
3
- utils : ethereum-optimism/circleci-utils@0 .0.7
3
+ utils : ethereum-optimism/circleci-utils@1 .0.13
4
4
5
5
executors :
6
6
node20 :
@@ -117,10 +117,6 @@ jobs:
117
117
type : string
118
118
default : $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
119
119
steps :
120
- - utils/get-github-access-token :
121
- private-key-str : GITHUB_APP_KEY
122
- app-id : GITHUB_APP_ID
123
- repo : << parameters.repo >>
124
120
- run :
125
121
name : Get Dates for Last Month
126
122
command : |
@@ -133,21 +129,13 @@ jobs:
133
129
134
130
# Export the last_month variable for subsequent steps
135
131
echo "export LAST_MONTH=${first_day}..${last_day}" >> $BASH_ENV
136
- - utils/generate- issue-metrics-file :
132
+ - utils/create-github- issue-from-search :
137
133
SEARCH_QUERY : ' repo:ethereum-optimism/docs is:issue closed:${LAST_MONTH} -reason:\"not planned\" -label:monthly-report'
138
- file-path : " ./closed_issue_metrics.md"
139
- - utils/create-github-issue-from-file :
140
- repo : << parameters.repo >>
141
- file-path : " ./closed_issue_metrics.md"
142
134
issue-title : " ${LAST_MONTH} metrics report for closed issues"
143
135
issue-labels : " monthly-report"
144
136
assignees : " sbvegan"
145
- - utils/generate-issue-metrics-file :
146
- SEARCH_QUERY : " repo:ethereum-optimism/docs is:pr created:${LAST_MONTH}"
147
- file-path : " ./pr_issue_metrics.md"
148
- - utils/create-github-issue-from-file :
149
- repo : << parameters.repo >>
150
- file-path : " ./pr_issue_metrics.md"
137
+ - utils/create-github-issue-from-search :
138
+ SEARCH_QUERY : ' repo:ethereum-optimism/docs is:pr created:${LAST_MONTH}'
151
139
issue-title : " ${LAST_MONTH} metrics report for opened prs"
152
140
issue-labels : " monthly-report"
153
141
assignees : " sbvegan"
0 commit comments