Skip to content

again :p

again :p #34

Workflow file for this run

name: APPROVE
on: [workflow_call, pull_request, workflow_dispatch]

Check failure on line 3 in .github/workflows/approve.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/approve.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
on: workflow_dispatch
permissions:
pull-requests: write
jobs:
approve:
runs-on: ubuntu-latest
steps:
- run: |
curl --request POST \
--url https://api.github.com/repos/${{github.repository}}/pulls/${{github.event.number}}/reviews \
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
--header 'content-type: application/json' \
-d '{"event":"APPROVE"}'