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

Move failure reporting to reusable workflow #103

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Preparing to lift this entire job to a reusable workflow, where these
variables can easily be replaced by inputs.
Preparing to lift this entire job to a reusable workflow.

Workflow path extraction was co-authored by ChatGPT. Prompt:

    I have a bash variable "workflow_ref" in the format
    "<unnecessary_text>/.github/workflows/<name>.yml@<unnecessary_text>".
    Write a bash script to extract everything but <unnecessary text>, and
    drop the trailing '@'.
@victorlin victorlin force-pushed the victorlin/reusable-failure-reporting branch from 4bb7556 to a4c8dda Compare February 8, 2025 06:52
success: ${{ needs.test.result == 'success' }}
title: Installation failure
secrets:
token: ${{ secrets.GH_TOKEN_NEXTSTRAIN_BOT_REPO }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think alternatively this can be secrets.GITHUB_TOKEN with issues: write permission, which will appear managed by the github-actions app rather than @nextstrain-bot. We already do something similar for releases (e.g.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant