Skip to content

Commit

Permalink
Merge ab89ca7 into 8bb1887
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Yang authored Feb 21, 2021
2 parents 8bb1887 + ab89ca7 commit d90bafa
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/failed_schedule_issue_template.md
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.
17 changes: 17 additions & 0 deletions .github/workflows/create-issue.yml
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

0 comments on commit d90bafa

Please sign in to comment.