Skip to content

Commit

Permalink
Merge pull request #853 from GSA/auto-docs
Browse files Browse the repository at this point in the history
Only update audit issue if on schedule
  • Loading branch information
nickumia-reisys authored Mar 6, 2023
2 parents b6294ab + 5fd049e commit 5bcbe9e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/db-solr-sync-info.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: 📌 DB Solr Sync Auditing Log
labels: bug
labels: audit
---

Workflow with Issue: {{ workflow }}
Job Failed: {{ env.GITHUB_JOB }}
Job being auditied: {{ env.GITHUB_JOB }}
CKAN Command (in question): {{ env.COMMAND }}
CKAN Command Schedule: {{ env.SCHEDULE }}
Cloud.gov Environment: {{ env.ENVIRONMENT }}
Expand Down
4 changes: 2 additions & 2 deletions .github/tracking-update-info.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: 📌 Tracking Update Auditing Log
labels: bug
labels: audit
---

Workflow with Issue: {{ workflow }}
Job Failed: {{ env.GITHUB_JOB }}
Job being audited: {{ env.GITHUB_JOB }}
CKAN Command (in question): {{ env.COMMAND }}
CKAN Command Schedule: {{ env.SCHEDULE }}
Cloud.gov Environment: {{ env.ENVIRONMENT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ckan_auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
if [[ $ELAPSED > ${{ matrix.error_seconds }} ]]; then echo ERROR=true | tee -a $GITHUB_ENV; fi;
if [[ $ELAPSED > ${{ matrix.error_seconds }} ]]; then echo "ELAPSED=${ELAPSED}" | tee -a $GITHUB_ENV; fi;
- name: Create Informational Issue for auditing 📑
if: ${{ matrix.info_issue }}
if: ${{ matrix.info_issue && github.event.schedule == matrix.schedule }}
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.ADD_TO_PROJECT_PAT }}
Expand Down

0 comments on commit 5bcbe9e

Please sign in to comment.