Skip to content

Commit

Permalink
small bug fix in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
github_action_bot committed Aug 3, 2024
1 parent 90d2a5d commit 7ae621f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rewatch_codeql.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CodeQL"
name: "rewatch_codeql"

on:
push:
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion scripts/prevent_disable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7ae621f

Please sign in to comment.