Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Approve Pull Requests automatically in Hamster organisation

License

Notifications You must be signed in to change notification settings

AwesomeHamster/actions-auto-approve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

actions-auto-approve

Approve Pull Requests automatically in Hamster organisation

Usage

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 }}

Options

github-token

The GitHub token to use for the API calls. Default ${{ github.token }}.

pr-number

The pull request number to approve. Default ${{ github.event.issue.number }}.

trigger

The trigger string to approve the pull request. Default approve it.

reaction

The reaction to add to the comment. Default hooray :hooray: .

review-message

The message to add to the review. Default Auto approved by @${{ github.actor }}.

License

The project are released under the MIT License.

About

Approve Pull Requests automatically in Hamster organisation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published