-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* create issue on failure * fix md * behold my final form. * don't use default template * create own job
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: "teaxyz/cli release: CI run failed" | ||
assignees: mxcl | ||
labels: bug | ||
--- | ||
A CI run for the new teaxyz/cli release has failed. Review the failure | ||
<a href="{{env.URL}}">here</a> and mitigate. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: smoke-test | ||
|
||
on: [workflow_dispatch] | ||
|
||
concurrency: | ||
group: ${{ github.ref }}/smoke-test | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read | ||
issues: write | ||
|
||
jobs: | ||
ci: | ||
uses: ./.github/workflows/ci.yml | ||
secrets: inherit | ||
|
||
notify: | ||
runs-on: ubuntu-latest | ||
needs: [ci] | ||
if: always() | ||
steps: | ||
- uses: martialonline/workflow-status@v3 | ||
id: status | ||
- uses: actions/checkout@v3 | ||
if: ${{ steps.status.outputs.status == 'failure' }} | ||
- uses: JasonEtco/create-an-issue@v2 | ||
if: ${{ steps.status.outputs.status == 'failure' }} | ||
with: | ||
filename: .github/CI_FAILURE_ISSUE_TEMPLATE.md | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} |