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 c5c4954 commit b8f595f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ClinicalObservations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ jobs:
id: branch-name
run: echo "BRANCH=$(echo ${{ steps.today.outputs.TODAY }} | tr -d '[:space:]' | tr -d ':')" >> $GITHUB_OUTPUT

- name: Update README
run: |
export NUMLINES=$(wc -l < README.md)
export NUMLINES=$(($NUMLINES-2))
head -$NUMLINES README.md > README1.md
echo "" >> README1.md
echo "Updated at: $(date)" >> README1.md
mv README1.md README.md
- name: Download and commit simplifier source code
run: |
cd ClinicalObservations
Expand All @@ -36,15 +45,6 @@ jobs:
- name: Sleep random #Used to stop error due to multiple actions wanting PRs to be merged at the same time
run: sleep $((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: |
if git diff --exit-code; then
echo "No changes detected"
exit 0
else
"Changes detected"
fi
- name: Create branch and commit
run: |
git config --global user.name "Workflows.Backup"
Expand Down
4 changes: 4 additions & 0 deletions ClinicalObservations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
This folder contains the Simplifier Project [Clinical Observations](https://simplifier.net/clinicalobservations)

It was created on 29/09/2023 and has been set up to run every 1 month.

## Last Updated

Updated at: Tue Jun 13 08:12:44 UTC 2023

0 comments on commit b8f595f

Please sign in to comment.