mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
fix(action): testing and fixing errors (#4446)
* fix(action): testing and fixing errors
* fix: testing if all is a valid entry for workflows
* fix: more events to trigger workflow tests
* fix: double quotes -> single quotes
* fix: add workflows name to the list
* revert: remove added events
This reverts commit 3daeeb2ba3
This commit is contained in:
parent
ac29f70755
commit
32e9072627
3
.github/workflows/approve_workflow_run.yml
vendored
3
.github/workflows/approve_workflow_run.yml
vendored
@ -4,13 +4,14 @@ name: "Approve Workflow Run"
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
workflow_run:
|
||||||
|
workflows: ['build', 'project_euler', 'pre-commit', 'directory_writer']
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
approve:
|
approve:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event.workflow_run.conclusion == "action_required" }}
|
if: ${{ github.event.workflow_run.conclusion == 'action_required' }}
|
||||||
steps:
|
steps:
|
||||||
- name: "Automatically approve a workflow run"
|
- name: "Automatically approve a workflow run"
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user