Skip to content

Automatically create issues when critical Actions Workflows fail on the default branch

License

Notifications You must be signed in to change notification settings

urcomputeringpal/workflow-failure-issues

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

workflow-failure-issues

  • Creates issues like #8 when critical workflows fails on the default branch.
  • Closes them when the workflow passes.
  • Supports per-workflow issue templates.

Setup

Add the below workflow to your repo, maybe as .github/workflows/workflow-failure-issues.yml

name: Workflow Failure Issues
on:
  workflow_run:
    workflows:
      # List your workflow's full name here
      - Your critical workflow
    types:
      - completed
jobs:
  workflow-failure-issues:
    uses: urcomputeringpal/workflow-failure-issues/.github/workflows/[email protected]
    if: |
      (
        github.event_name == 'schedule' ||
        github.event.workflow_run.head_branch == github.event.repository.default_branch
      )

About

Automatically create issues when critical Actions Workflows fail on the default branch

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks