From 093e7cc2f9ef8a9c16da3f170f9692df77e9ab1c Mon Sep 17 00:00:00 2001 From: Fuhu Xia <fxia@reisystems.com> Date: Fri, 16 Feb 2024 13:52:43 -0500 Subject: [PATCH] use scale template --- .github/scale_failure.md | 11 +++++++++++ .github/workflows/app-restart-template.yml | 1 - .github/workflows/scale-web-template.yml | 3 +-- 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 .github/scale_failure.md diff --git a/.github/scale_failure.md b/.github/scale_failure.md new file mode 100644 index 000000000..c14e5d309 --- /dev/null +++ b/.github/scale_failure.md @@ -0,0 +1,11 @@ +--- +title: Auto Scale Failure +labels: bug +--- + +Workflow with Issue: {{ workflow }} +Job Failed: {{ env.GITHUB_JOB }} +Last Commit: {{ env.LAST_COMMIT }} +Number of times run: {{ env.GITHUB_ATTEMPTS }} +Last run by: {{ env.LAST_RUN_BY }} +Github Action Run: https://github.com/{{ env.REPO }}/actions/runs/{{ env.RUN_ID }} diff --git a/.github/workflows/app-restart-template.yml b/.github/workflows/app-restart-template.yml index 9cd5e9157..7320ee8e9 100644 --- a/.github/workflows/app-restart-template.yml +++ b/.github/workflows/app-restart-template.yml @@ -58,5 +58,4 @@ jobs: REPO: ${{ github.repository }} with: filename: datagov/.github/restart_failure.md - assignees: ${{ github.actor }} update_existing: true diff --git a/.github/workflows/scale-web-template.yml b/.github/workflows/scale-web-template.yml index 08151b752..561567dc9 100644 --- a/.github/workflows/scale-web-template.yml +++ b/.github/workflows/scale-web-template.yml @@ -57,6 +57,5 @@ jobs: RUN_ID: ${{ github.run_id }} REPO: ${{ github.repository }} with: - filename: datagov/.github/restart_failure.md - assignees: ${{ github.actor }} + filename: datagov/.github/scale_failure.md update_existing: true