Skip to content

Commit

Permalink
still fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
ryma2fhir committed Oct 3, 2023
1 parent 978597b commit b473474
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ClinicalObservations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
cd ..
- name: Sleep random #Used to stop error due to multiple actions wanting PRs to be merged at the same time
run: sleep $((RANDOM % 1))m $((RANDOM % 59))s #sleeps for a random number of minutes and seconds
run: sleep $((RANDOM % 0))m $((RANDOM % 59))s #sleeps for a random number of minutes and seconds

- name: Check for changes #If no changes found then exit action, otherwise pass
run: |
Expand All @@ -47,6 +47,12 @@ jobs:
- name: Create branch and commit
run: |
if git diff --exit-code; then
echo "No changes detected"
exit 0
else
"Changes detected"
fi
git config --global user.name "Workflows.Backup"
git config --global user.email "[email protected]"
git checkout -b ${{ steps.branch-name.outputs.BRANCH }}
Expand Down

0 comments on commit b473474

Please sign in to comment.