Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add failure step to build assets workflow to reopen an issue indicating a failure with the workflow #391

Open
jeffcharles opened this issue Jun 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jeffcharles
Copy link
Collaborator

What is the idea?

Add a step to the build assets workflow to reopen a GitHub issue in this repository when the workflow fails.

Something along the lines of:

open-issue:
    if: failure()
    runs-on: ubuntu-latest
    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    steps:
      - run: gh issue reopen 53

What problem does it solve?

At the moment, we're not notified when the build assets workflow fails since it just runs on main so problems with the that workflow can go undetected. Having an issue the maintainers can follow will mean we get notified when there's a failure with that workflow.

@jeffcharles jeffcharles added the enhancement New feature or request label Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant