Compare commits
2 Commits
v1.0.1
..
df210c66a0
| Author | SHA1 | Date | |
|---|---|---|---|
| df210c66a0 | |||
| 560863d914 |
@@ -59,16 +59,3 @@ jobs:
|
||||
git tag "$VERSION"
|
||||
git push origin "$VERSION"
|
||||
|
||||
lint:
|
||||
runs-on: host
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run actionlint
|
||||
run: |
|
||||
# Trying to install it via apk if possible, otherwise fallback
|
||||
apk add --no-cache actionlint || echo "actionlint not found in apk"
|
||||
if command -v actionlint >/dev/null 2>&1; then
|
||||
actionlint .gitea/workflows/*.yml
|
||||
else
|
||||
echo "Skipping actionlint: not installed"
|
||||
fi
|
||||
|
||||
@@ -59,16 +59,3 @@ jobs:
|
||||
git tag "$VERSION"
|
||||
git push origin "$VERSION"
|
||||
|
||||
lint:
|
||||
runs-on: host
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run actionlint
|
||||
run: |
|
||||
# Trying to install it via apk if possible, otherwise fallback
|
||||
apk add --no-cache actionlint || echo "actionlint not found in apk"
|
||||
if command -v actionlint >/dev/null 2>&1; then
|
||||
actionlint .gitea/workflows/*.yml
|
||||
else
|
||||
echo "Skipping actionlint: not installed"
|
||||
fi
|
||||
|
||||
@@ -22,3 +22,12 @@ exitcode '1': failure
|
||||
- [ ] We should drop the "notes" column from the sleep_session table
|
||||
- [ ] Switch over to oh-my-opencode and try it out
|
||||
- [ ] Adda footer at the bottom of the app that shows the version (aka git tag) of the app
|
||||
- [ ] Fix race condition of gitea workflows
|
||||
|
||||
If both workflows run at the same time, a race condition occurs:
|
||||
1. Collision: Both workflows will query the latest tag (e.g., v1.0.5) and calculate the same next version (v1.0.6).
|
||||
2. The Winner: The first workflow to finish its push will successfully create the v1.0.6 tag on the remote.
|
||||
3. The Loser: The second workflow will attempt to push v1.0.6, but the remote will reject it because that tag already exists, causing the workflow to fail.
|
||||
This happens because both workflows share the same global tag namespace (v1.0.x). To fix this, you should differentiate them by using unique prefixes, such as backend-v1.0.x and frontend-v1.0.x.
|
||||
|
||||
- [ ] remove the lint form the gitea workflows added by the agent. makes no sense there
|
||||
|
||||
Reference in New Issue
Block a user