fix(action): correct indentation for types key (#4445)

* fix(action): correct indentation for types key

* updating DIRECTORY.md

* refactor: add quotes around name key

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
Dhruv Manilawala
2021-05-21 19:03:56 +05:30
committed by GitHub
parent 92836d57f6
commit ac29f70755
2 changed files with 8 additions and 4 deletions

View File

@ -1,18 +1,18 @@
# https://docs.github.com/en/rest/reference/actions#approve-a-workflow-run-for-a-fork-pull-request
name: Approve Workflow Run
name: "Approve Workflow Run"
on:
workflow_run:
types:
- completed
types:
- completed
jobs:
approve:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == "action_required" }}
steps:
- name: Automatically approve a workflow run
- name: "Automatically approve a workflow run"
run: |
curl \
--request POST \