From 14acc59a7640fad5336c288cae2803dbf8045ae7 Mon Sep 17 00:00:00 2001 From: Jesse Newland Date: Wed, 6 Sep 2023 09:40:41 -0500 Subject: [PATCH 1/4] Download --- .github/workflows/workflow-failure-issues.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/workflow-failure-issues.yml b/.github/workflows/workflow-failure-issues.yml index 93f7f75..ca161fa 100644 --- a/.github/workflows/workflow-failure-issues.yml +++ b/.github/workflows/workflow-failure-issues.yml @@ -31,6 +31,7 @@ jobs: if [ -f "$path" ]; then echo "filename=$path" >> $GITHUB_OUTPUT else + wget https://raw.githubusercontent.com/urcomputeringpal/workflow-failure-issues/v0/.github/workflows/workflow-failure-issues-issue-template.md echo "filename=.github/workflows/workflow-failure-issues-issue-template.md" >> $GITHUB_OUTPUT fi From e546eccc4a48eb79551bb6a2fd1a575596257ffc Mon Sep 17 00:00:00 2001 From: Jesse Newland Date: Wed, 6 Sep 2023 09:41:13 -0500 Subject: [PATCH 2/4] Create update-major.yml --- .github/workflows/update-major.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/update-major.yml diff --git a/.github/workflows/update-major.yml b/.github/workflows/update-major.yml new file mode 100644 index 0000000..be4ca6b --- /dev/null +++ b/.github/workflows/update-major.yml @@ -0,0 +1,13 @@ +name: Update Major Version Tag + +on: + push: + tags: + - "v*" + +jobs: + update-majorver: + name: Update Major Version Tag + runs-on: ubuntu-latest + steps: + - uses: nowactions/update-majorver@f2014bbbba95b635e990ce512c5653bd0f4753fb # v1.1.2 From f3d8aae9282b4a6d1dbf55145a9112e2e9adc31b Mon Sep 17 00:00:00 2001 From: Jesse Newland Date: Wed, 6 Sep 2023 09:41:56 -0500 Subject: [PATCH 3/4] Update README.md --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 28262fe..290104c 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,7 @@ ## Setup -1. Copy [`.github/workflows/workflow-failure-issues-issue-template.md`](https://github.com/urcomputeringpal/workflow-failure-issues/blob/main/.github/workflows/workflow-failure-issues-issue-template.md) to your repo. Customize as needed. -1. Add the below workflow to your repo, maybe as `.github/workflows/workflow-failure-issues.yml` +Add the below workflow to your repo, maybe as `.github/workflows/workflow-failure-issues.yml` ```yaml name: Workflow Failure Issues @@ -16,10 +15,7 @@ on: workflows: # List your workflow's full name here - Your critical workflow - # Add a template to customize the issue for each workflow. - # For .github/your-critical-workflow.yml: - # .github/your-critical-workflow-issue-template.md -types: + types: - completed jobs: workflow-failure-issues: From 931075fa0b4d9266390a4ed2ba21f5380cce5525 Mon Sep 17 00:00:00 2001 From: Jesse Newland Date: Wed, 6 Sep 2023 09:43:04 -0500 Subject: [PATCH 4/4] Update workflow-failure-issues.yml --- .github/workflows/workflow-failure-issues.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow-failure-issues.yml b/.github/workflows/workflow-failure-issues.yml index ca161fa..ae5c517 100644 --- a/.github/workflows/workflow-failure-issues.yml +++ b/.github/workflows/workflow-failure-issues.yml @@ -17,7 +17,9 @@ jobs: contents: read issues: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Find template id: template @@ -31,6 +33,7 @@ jobs: if [ -f "$path" ]; then echo "filename=$path" >> $GITHUB_OUTPUT else + cd .github/workflows wget https://raw.githubusercontent.com/urcomputeringpal/workflow-failure-issues/v0/.github/workflows/workflow-failure-issues-issue-template.md echo "filename=.github/workflows/workflow-failure-issues-issue-template.md" >> $GITHUB_OUTPUT fi