Approve Pull Requests automatically in Hamster organisation
name: Auto approve
on:
issue_comment:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: AwesomeHamster/actions-auto-approve@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
The GitHub token to use for the API calls. Default ${{ github.token }}
.
The pull request number to approve. Default ${{ github.event.issue.number }}
.
The trigger string to approve the pull request. Default approve it
.
The reaction to add to the comment. Default hooray
:hooray: .
The message to add to the review. Default Auto approved by @${{ github.actor }}
.
The project are released under the MIT License.