Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Doeunnkimm committed Jun 20, 2024
1 parent a385f4f commit 382be38
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,19 @@ jobs:
uses: actions/github-script@v6
with:
script: |
const token = process.env.ACCESS_TOKEN;
await github.rest.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
event: 'APPROVE',
body: '๊ณ ์ƒํ–ˆ๋‹ค. ๐Ÿ‘๐Ÿฝ'
token: ${{ secrets.ACCESS_TOKEN }}
headers: {
authorization: `token ${token}`
}
});
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}

- name: Merge Pull Request on Review
if: |
Expand Down

0 comments on commit 382be38

Please sign in to comment.