Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

idea: issue creator action if workflow fails #2

@RemcoHalman

Description

@RemcoHalman

In github actions there is the possibility to run a action if the run fails

Github action <- creates issue with labels and assignee

- uses: nashmaniac/create-issue-action@v1.1
  if: ${{ failure() }} # only run when this job is failed.
  name: Create Issue Action
  with:
    title: Linter Failed
    token: ${{secrets.GITHUB_TOKEN}}
    assignees: ${{github.actor}}
    labels: refactoring-needed, help needed
    body: Workflow failed for commit ${{github.sha}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions