File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1818 run : echo "$GITHUB_CONTEXT"
1919 - name : Fail if not a release publish # workaround has `on` doesn't have this filter
2020 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')
2223 - name : Set up Python 3.5
2324 uses : actions/setup-python@v1
2425 with :
@@ -184,7 +185,9 @@ jobs:
184185 env :
185186 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
186187 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')
188191 - name : Install upload deps
189192 run : |
190193 pip install uritemplate
@@ -194,4 +197,5 @@ jobs:
194197 env :
195198 UPLOAD_URL : ${{ github.event.release.upload_url }}
196199 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 3535 env :
3636 RELEASE_TAG : ${{ github.event.release.tag_name }}
3737 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