mirror of
https://github.com/minoplhy/filters.git
synced 2024-11-13 07:07:02 +00:00
Update tasks.yaml
This commit is contained in:
parent
d9dce21f44
commit
4c6f8a5100
14
.github/workflows/tasks.yaml
vendored
14
.github/workflows/tasks.yaml
vendored
@ -28,3 +28,17 @@ jobs:
|
||||
BRANCH_VERSION: "main"
|
||||
sub_action_location: "sub-action.py"
|
||||
sub_action_Repo: "minoplhy/filters"
|
||||
restart_when_failed:
|
||||
name: Restarts the scheduled run when it failed
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'schedule' && failure()
|
||||
needs: [build]
|
||||
steps:
|
||||
- name: Retry 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 \
|
||||
-d '{"ref": "${{ github.ref }}" }'
|
||||
|
Loading…
Reference in New Issue
Block a user