8000 chore: disable version check in ci by matifali · Pull Request #431 · coder/modules · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

chore: disable version check in ci #431

Merged
merged 3 commits into from
Apr 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 15 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,18 @@ jobs:
uses: crate-ci/typos@v1.17.2
- name: Lint
run: bun lint
- name: Check version
shell: bash
run: |
# check for version changes
./update-version.sh
# Check if any changes were made in README.md files
if [[ -n "$(git status --porcelain -- '**/README.md')" ]]; then
echo "Version mismatch detected. Please run ./update-version.sh and commit the updated README.md files."
git diff -- '**/README.md'
exit 1
else
echo "No version mismatch detected. All versions are up to date."
fi
# Disable version check until https://github.com/coder/modules/pull/426 is merged.
# This will alow us to use seperate versioning for each module without failing CI. The backend already supports that.
# - name: Check version
# shell: bash
# run: |
# # check for version changes
# ./update-version.sh
# # Check if any changes were made in README.md files
# if [[ -n "$(git status --porcelain -- '**/README.md')" ]]; then
# echo "Version mismatch detected. Please run ./update-version.sh and commit the updated README.md files."
# git diff -- '**/README.md'
# exit 1
# else
# echo "No version mismatch detected. All versions are up to date."
# fi
0