Skip to content

A GitHub Action to provide feedback on failure of performing specific workflows in a Pull Request

License

Notifications You must be signed in to change notification settings

cds-snc/pr-workflow-failure

Repository files navigation

PR Workflow Failure

GitHub Action to create a comment in a Pull Request listing whether the specified workflows in the repository successfully completed or failed.

If the specified workflows have failed, the comment will include a list of the failed workflows and the jobs that failed in each workflow, with links to the failed job logs.

Usage

Create a new workflow file in your repository at .github/workflows/pr-workflow-failure.yml with the following contents:

name: PR Workflow Failure
on:
  pull_request:
    types: [ opened, synchronize, reopened ]

jobs:
  pr-workflow-failure:
    runs-on: ubuntu-latest
    steps:
      - name: Check out the repository
        uses: actions/checkout@v2
    
      - name: PR Workflow Failure

About

A GitHub Action to provide feedback on failure of performing specific workflows in a Pull Request

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published