From 7ae621faa07cb67095c46f6bcad13eb0aa7dfab4 Mon Sep 17 00:00:00 2001 From: github_action_bot Date: Sat, 3 Aug 2024 12:14:16 -0500 Subject: [PATCH] small bug fix in pipeline --- .github/workflows/rewatch_codeql.yml | 6 +++--- scripts/prevent_disable.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rewatch_codeql.yml b/.github/workflows/rewatch_codeql.yml index 9ebe8fc..071160b 100644 --- a/.github/workflows/rewatch_codeql.yml +++ b/.github/workflows/rewatch_codeql.yml @@ -1,4 +1,4 @@ -name: "CodeQL" +name: "rewatch_codeql" on: push: @@ -64,8 +64,8 @@ jobs: #https://docs.github.com/en/actions/managing-workflow-runs/disabling-and-enabling-a-workflow ################## - name: script-execution-permissions-disable - run: chmod +x ${{env.PREVENT_DISABLE_SCRIPT}} + run: chmod +x scripts/prevent_disable.sh - name: prevent-disabled-workflow shell: bash - run: ${{env.PREVENT_DISABLE_SCRIPT}} + run: scripts/prevent_disable.sh \ No newline at end of file diff --git a/scripts/prevent_disable.sh b/scripts/prevent_disable.sh index 823bee8..29a79c3 100755 --- a/scripts/prevent_disable.sh +++ b/scripts/prevent_disable.sh @@ -33,7 +33,7 @@ echo "tag_message - ${tag_message}" # only add a tag on the 1st day of the month -if [ $(date +%d) = "01" ]; then +if [ $(date +%d) = "03" ]; then git tag $new_tag -m "$tag_message" echo "added unnecessary tag"