Skip to content

Commit

Permalink
🔧 origin health check
Browse files Browse the repository at this point in the history
  • Loading branch information
roiLeo committed Oct 9, 2024
1 parent db2db33 commit 04a79f3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/health-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
id: health_check
run: bash ./.script/health-check.sh

- name: Run Notification
env:
HEALTH_STATUS: ${{ join(steps.health_check.outputs.*, '\n') }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
id: notifcation
run: bash ./.script/notification.sh
# - name: Run Notification
# env:
# HEALTH_STATUS: ${{ join(steps.health_check.outputs.*, '\n') }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# id: notifcation
# run: bash ./.script/notification.sh
8 changes: 4 additions & 4 deletions .script/health-check.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
commit=true
origin=$(git remote get-url origin)
if [[ $origin == *roiLeo/open-status* ]]
then
commit=false
fi
# if [[ $origin == *roiLeo/open-status* ]]
# then
# commit=false
# fi

FILESARRAY=()
KEYSARRAY=()
Expand Down

0 comments on commit 04a79f3

Please sign in to comment.