@@ -125,6 +125,12 @@ jobs:
125125
126126 - name : Create branch + commit
127127 if : steps.changes.outputs.has_changes == 'true'
128+ env :
129+ NEW_ENTRIES : ${{ steps.refresh.outputs.new_entries }}
130+ COUNT_BEFORE : ${{ steps.pre.outputs.count_before }}
131+ COUNT_AFTER : ${{ steps.post.outputs.count_after }}
132+ DATE_BEFORE : ${{ steps.pre.outputs.date_before }}
133+ DATE_AFTER : ${{ steps.post.outputs.date_after }}
128134 run : |
129135 # Branch name includes the date so monthly runs don't conflict
130136 # if a previous PR is still open.
@@ -152,17 +158,15 @@ jobs:
152158 -m "Workflow: .github/workflows/refresh-vuln-db.yml" \
153159 -m "Co-authored-by: Wolfvin <wolfvin@users.noreply.github.com>"
154160
155- env:
156- NEW_ENTRIES: ${{ steps.refresh.outputs.new_entries }}
157- COUNT_BEFORE: ${{ steps.pre.outputs.count_before }}
158- COUNT_AFTER: ${{ steps.post.outputs.count_after }}
159- DATE_BEFORE: ${{ steps.pre.outputs.date_before }}
160- DATE_AFTER: ${{ steps.post.outputs.date_after }}
161-
162161 - name : Push branch + create PR
163162 if : steps.changes.outputs.has_changes == 'true'
164163 env :
165164 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
165+ NEW_ENTRIES : ${{ steps.refresh.outputs.new_entries }}
166+ COUNT_BEFORE : ${{ steps.pre.outputs.count_before }}
167+ COUNT_AFTER : ${{ steps.post.outputs.count_after }}
168+ DATE_BEFORE : ${{ steps.pre.outputs.date_before }}
169+ DATE_AFTER : ${{ steps.post.outputs.date_after }}
166170 run : |
167171 git push --set-upstream origin "$BRANCH"
168172
@@ -211,12 +215,6 @@ jobs:
211215 --label "automated"
212216
213217 echo "PR created successfully."
214- env :
215- NEW_ENTRIES : ${{ steps.refresh.outputs.new_entries }}
216- COUNT_BEFORE : ${{ steps.pre.outputs.count_before }}
217- COUNT_AFTER : ${{ steps.post.outputs.count_after }}
218- DATE_BEFORE : ${{ steps.pre.outputs.date_before }}
219- DATE_AFTER : ${{ steps.post.outputs.date_after }}
220218
221219 - name : Summary
222220 if : always()
0 commit comments