Skip to content

chore: disable version check in ci #431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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