fix(bugs): 🚚 fix bug of not showing of logo image #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto-approve Pull Requests | |
on: | |
pull_request: | |
types: [opened] | |
jobs: | |
auto_approve: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Add reviewer | |
uses: actions/github-script@v4 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
script: | | |
const response = await github.pulls.createReview({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
pull_number: context.payload.pull_request.number, | |
event: 'APPROVE', | |
body: 'Automatically approved by workflow.' | |
}); | |
console.log(response); |