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:
Dhruv Manilawala 2021-05-21 19:25:59 +05:30 committed by GitHub
parent ac29f70755
commit 32e9072627
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: |