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

idea: issue creator action if workflow fails #2

Open
RemcoHalman opened this issue Nov 2, 2020 · 2 comments
Open

idea: issue creator action if workflow fails #2

RemcoHalman opened this issue Nov 2, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@RemcoHalman
Copy link
Member

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/[email protected]
  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}}
@github-actions
Copy link

github-actions bot commented Nov 2, 2020

It's great having you contribute to this project

Feel free to raise an Issue! Welcome to the community 🤓

If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord chat and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.

@eddiejaoude
Copy link
Member

Oh I like it @RemcoHalman 👍 - such a great idea 🤓

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants