Skip to content

shqear93/rerun-checks

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rerun Checks — GitHub Actions

What is it ?

A GitHub action that reruns specified GitHub checks for a pull request. This action is useful for re-triggering checks without needing to push new commits to the pull request.

Usage

Classic usage

on:
  pull_request_review:
    types: [ submitted ]

jobs:
  rerun_checks:
    runs-on: ubuntu-latest
    name: Rerun specified checks
    if: github.event.review.state == 'approved'
    steps:
      - name: Rerun Checks
        uses: shqear93/rerun-checks@v1
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          check-names: 'check1, check2' # Replace with the names of the jobs you want to rerun

Inputs

Action inputs

Name Description Required Default
github-token Token that is used to create comments
check-names Comma-separated list of check names to rerun
target-branch Branch for which checks should be rerun the head ref of the pull request, default branch

Permissions

Depending on the permissions granted to your token, you may lack some rights. To run successfully, this actions at least requires the following permissions:

permissions:
  pull-requests: write 

Contributing

If you have suggestions for how rerun-checks could be improved, or want to report a bug, open a pull-request! I'd love all and any contributions.

License

MIT © Khaled AbuShqear

About

GitHub action to rerun specified GitHub checks

Resources

License

Stars

Watchers

Forks

Packages

No packages published