File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,9 @@ jobs:
235
235
path : reports_repo/${{ env.report_dir }}
236
236
237
237
- name : " Push to report repo"
238
- if : ${{ github.ref == 'refs/heads/master' }}
238
+ if : |
239
+ github.repository_owner == 'nedbat'
240
+ && github.ref == 'refs/heads/master'
239
241
env :
240
242
COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
241
243
run : |
@@ -259,7 +261,9 @@ jobs:
259
261
echo '[${{ env.url }}](${{ env.url }})' >> $GITHUB_STEP_SUMMARY
260
262
261
263
- name : " Create badge"
262
- if : ${{ github.ref == 'refs/heads/master' }}
264
+ if : |
265
+ github.repository_owner == 'nedbat'
266
+ && github.ref == 'refs/heads/master'
263
267
# https://gist.githubusercontent.com/nedbat/8c6980f77988a327348f9b02bbaf67f5
264
268
uses : schneegans/dynamic-badges-action@e9a478b16159b4d31420099ba146cdc50f134483
265
269
with :
You can’t perform that action at this time.
0 commit comments