Skip to content

Commit 2c9c471

Browse files
committed
CI: Fix issues with readme workflow
[why] We do not need (want) to check the tags, because the readme is no release and want to update it at any time. Also when not checking the tags we can live with a shallow clone. Signed-off-by: Fini Jastrow <[email protected]>
1 parent b99804d commit 2c9c471

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

Diff for: .github/workflows/update_readme.yml

+1-14
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,11 @@ on:
1010
workflow_dispatch:
1111

1212
jobs:
13-
npm-publish:
13+
update-readme:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Fetch repo
1717
uses: actions/checkout@v4
18-
with:
19-
fetch-depth: 0
20-
21-
- name: Check if we are on correct commit
22-
run: |
23-
REL_VERSION=v$(jq -r '.version' package.json)
24-
GIT_VERSION=$(git describe --tags)
25-
echo "Release version ${REL_VERSION}"
26-
echo "Git tag version ${GIT_VERSION}"
27-
if [ "${REL_VERSION}" != "${GIT_VERSION}" ]; then \
28-
echo "This is probably not what you want"; \
29-
exit 1; \
30-
fi
3118

3219
- name: Fetch dependencies
3320
run: |

0 commit comments

Comments
 (0)