Skip to content

Commit 32e9072

Browse files
authored
fix(action): testing and fixing errors (TheAlgorithms#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 3daeeb2
1 parent ac29f70 commit 32e9072

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/approve_workflow_run.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ name: "Approve Workflow Run"
44

55
on:
66
workflow_run:
7+
workflows: ['build', 'project_euler', 'pre-commit', 'directory_writer']
78
types:
89
- completed
910

1011
jobs:
1112
approve:
1213
runs-on: ubuntu-latest
13-
if: ${{ github.event.workflow_run.conclusion == "action_required" }}
14+
if: ${{ github.event.workflow_run.conclusion == 'action_required' }}
1415
steps:
1516
- name: "Automatically approve a workflow run"
1617
run: |

0 commit comments

Comments
 (0)