-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
49 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,32 @@ | ||
--- | ||
title: Scheduled workflow failed | ||
labels: | ||
- bug | ||
- "module: datasets" | ||
--- | ||
|
||
GITHUB_WORKFLOW {{ env.GITHUB_WORKFLOW }} | ||
GITHUB_RUN_ID {{ env.GITHUB_RUN_ID }} | ||
GITHUB_RUN_NUMBER {{ env.GITHUB_RUN_NUMBER }} | ||
GITHUB_ACTION {{ env.GITHUB_ACTION }} | ||
GITHUB_ACTIONS {{ env.GITHUB_ACTIONS }} | ||
GITHUB_ACTOR {{ env.GITHUB_ACTOR }} | ||
GITHUB_REPOSITORY {{ env.GITHUB_REPOSITORY }} | ||
GITHUB_EVENT_NAME {{ env.GITHUB_EVENT_NAME }} | ||
GITHUB_EVENT_PATH {{ env.GITHUB_EVENT_PATH }} | ||
GITHUB_WORKSPACE {{ env.GITHUB_WORKSPACE }} | ||
GITHUB_SHA {{ env.GITHUB_SHA }} | ||
GITHUB_REF {{ env.GITHUB_REF }} | ||
GITHUB_HEAD_REF {{ env.GITHUB_HEAD_REF }} | ||
GITHUB_BASE_REF {{ env.GITHUB_BASE_REF }} | ||
GITHUB_SERVER_URL {{ env.GITHUB_SERVER_URL }} | ||
GITHUB_API_URL {{ env.GITHUB_API_URL }} | ||
GITHUB_GRAPHQL_URL {{ env.GITHUB_GRAPHQL_URL }} | ||
GITHUB_JOB {{ env.GITHUB_JOB }} | ||
|
||
Oh no, something went wrong in the scheduled workflow {{ env.GITHUB_WORKFLOW }}/{{ env.GITHUB_JOB }}. | ||
Please look into it: | ||
|
||
{{ env.GITHUB_SERVER_URL }}/{{ env.GITHUB_REPOSITORY }}/actions/runs/{{ env.GITHUB_RUN_ID }} | ||
|
||
Feel free to close this if this was just a one-off error. |
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,17 @@ | ||
name: Create an issue | ||
|
||
on: [pull_request, push] | ||
|
||
jobs: | ||
issue: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: python main.py | ||
- uses: JasonEtco/create-an-issue@v2 | ||
name: Create issue if failed | ||
if: failure() | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
filename: .github/failed_schedule_issue_template.md |