Skip to content

Commit

Permalink
Minor Flag Status Retrieval Workflow Change and April, 2024 Dependenc…
Browse files Browse the repository at this point in the history
…y Updates (#24)
  • Loading branch information
PaulRosenthal committed Apr 20, 2024
2 parents cf9dfc1 + 9c6a314 commit 537ff1c
Show file tree
Hide file tree
Showing 5 changed files with 208 additions and 189 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/populate-current-flag-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
run: |
git config --global user.name 'Paul Rosenthal'
git config --global user.email 'Paul.H.Rosenthal@iCloud.com'
git add current-flag-status.txt
git commit -m "[Automatic Commit] Update Beach Flag Status" --allow-empty # Commits the file even if the flag status has not changed since the last update.
git push
# The lines below first assess if the "current-flag-status.txt" has changed. If the file
# is unchanged, the command exits with a 0. If there are differences, a non-zero value
# will be returned and the second portion of the command following the "||" operator will
# be run.
git diff --quiet current-flag-status.txt \
|| (git add current-flag-status.txt \
&& git commit -m "[Automatic Commit] Update Beach Flag Status" \
&& git push)
201 changes: 85 additions & 116 deletions current-flag-status/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions current-flag-status/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"axios": "^1.6.5",
"axios": "^1.6.8",
"fs": "^0.0.2",
"jsdom": "^22.1.0"
"jsdom": "^24.0.0"
}
}
Loading

0 comments on commit 537ff1c

Please sign in to comment.