Skip to content

Commit fc5fe99

Browse files
authored
Update readme, fix entrypoint
1 parent 00310e5 commit fc5fe99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
This action syncs your repo (merge changes from `remote`) at branch `main` with the upstream repo ``` https://github.com/dabreadman/go-web-proxy.git ``` every day on 1801 UTC.
6262
Do note GitHub Action scheduled workflow usually face delay as it is pushed onto a queue, the delay is usually within 1 hour long.
6363

64-
Note: This action will create a `sync-upstream-repo` file at root directory with timestamps of when the action is ran. This is to mitigate the hassle of GitHub disabling actions for a repo when inactivity was detected.
64+
Note: If `SPAWN_LOGS` is set to `true`, this action will create a `sync-upstream-repo` file at root directory with timestamps of when the action is ran. This is to mitigate the hassle of GitHub disabling actions for a repo when inactivity was detected.
6565

6666
## Development
6767

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ case ${SPAWN_LOGS} in
4848
"UNIX Time: " >> sync-upstream-repo
4949
date +"%s" >> sync-upstream-repo
5050
git add sync-upstream-repo
51-
git commit sync-upstream-repo -m "Syncing upstream"
51+
git commit sync-upstream-repo -m "Syncing upstream";;
5252
(false) echo "Not spawning time logs"
5353
esac
5454

0 commit comments

Comments
 (0)