Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ignacio-circle authored Nov 10, 2023
1 parent 32fd993 commit 55cf8c3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: APPROVE

on: pull_request # run on pull request events

permissions:
pull-requests: write # grant write permission on the pull-requests endpoint
jobs:
approve:
runs-on: ubuntu-latest

steps:
- run: echo "test"
- run: | # approve the pull request
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"}'

0 comments on commit 55cf8c3

Please sign in to comment.