File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 18
18
run : echo "$GITHUB_CONTEXT"
19
19
- name : Fail if not a release publish # workaround has `on` doesn't have this filter
20
20
run : exit 1
21
- if : github.event_name == 'release' && github.event.action != 'published'
21
+ if : github.event_name == 'release' && (github.event.action != 'published' ||
22
+ github.event.action != 'rerequested')
22
23
- name : Set up Python 3.5
23
24
uses : actions/setup-python@v1
24
25
with :
@@ -184,7 +185,9 @@ jobs:
184
185
env :
185
186
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
186
187
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
187
- if : github.event_name == 'push' || (github.event_name == 'release' && github.event.action == 'published')
188
+ if : github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' ||
189
+ ||
190
+ github.event.action == 'rerequested')
188
191
- name : Install upload deps
189
192
run : |
190
193
pip install uritemplate
@@ -194,4 +197,5 @@ jobs:
194
197
env :
195
198
UPLOAD_URL : ${{ github.event.release.upload_url }}
196
199
ADABOT_GITHUB_ACCESS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
197
- if : github.event_name == 'release' && github.event.action == 'published'
200
+ if : github.event_name == 'release' && (github.event.action == 'published' ||
201
+ github.event.action == 'rerequested')
Original file line number Diff line number Diff line change 35
35
env :
36
36
RELEASE_TAG : ${{ github.event.release.tag_name }}
37
37
ADABOT_GITHUB_ACCESS_TOKEN : ${{ secrets.ADABOT_GITHUB_ACCESS_TOKEN }}
38
- if : github.event_name == 'release' && github.event.action == 'published'
38
+ if : github.event_name == 'release' && (github.event.action == 'published' ||
39
+ github.event.action == 'rerequested')
You can’t perform that action at this time.
0 commit comments