mirror of
https://github.com/minoplhy/filters.git
synced 2024-12-23 10:38:16 +00:00
gonna rerun
This commit is contained in:
parent
b7217288b7
commit
4318df005e
6
.github/workflows/tasks.yaml
vendored
6
.github/workflows/tasks.yaml
vendored
@ -29,16 +29,16 @@ jobs:
|
||||
sub_action_location: "sub-action.py"
|
||||
sub_action_Repo: "minoplhy/filters"
|
||||
restart_when_failed:
|
||||
name: Restarts the scheduled run when it failed
|
||||
name: Re-Run the scheduled run when it failed
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'schedule' && failure()
|
||||
needs: [build]
|
||||
steps:
|
||||
- name: Retry the workflow
|
||||
- name: Re-Run the workflow
|
||||
run: |
|
||||
curl -i \
|
||||
-X POST \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
-H "Authorization: token ${{ secrets.API_TOKEN_GITHUB }}" \
|
||||
https://api.github.com/repos/minoplhy/filters/actions/workflows/11794283/dispatches \
|
||||
https://api.github.com/repos/minoplhy/filters/actions/runs/$GITHUB_RUN_ID/rerun \
|
||||
-d '{"ref": "${{ github.ref }}" }'
|
||||
|
Loading…
Reference in New Issue
Block a user