Skip to content

chore(*): eslint-config, prettier, vscode setting.json μ„€μ • #4

chore(*): eslint-config, prettier, vscode setting.json μ„€μ •

chore(*): eslint-config, prettier, vscode setting.json μ„€μ • #4

Workflow file for this run

name: Auto Approve PR
on:
pull_request:
types: [labeled]
jobs:
auto-approve:
if: github.event.label.name == 'auto approve'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Auto approve PR
uses: hmarr/[email protected]
with:
github-token: ${{ secrets.ACCESS_TOKEN }}
- name: Comment on PR
run: |
PR_NUMBER=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")
curl -s -X POST \
-H "Authorization: token ${{ secrets.ACCESS_TOKEN }}" \
-H "Content-Type: application/json" \
-d "{\"body\":\"κ³ μƒν–ˆλ‹€. πŸŽ‰πŸ‘πŸ½\"}" \
"https://api.github.com/repos/${{ github.repository }}/issues/${PR_NUMBER}/comments"