Hide/grey out plot-specific gear wheels when on table view #85
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Version Check | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "src/**" | |
| - "package.json" | |
| jobs: | |
| version-check: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check version bump | |
| run: | | |
| PR_VERSION=$(node -p "require('./package.json').version") | |
| BASE_VERSION=$(git show origin/${{ github.base_ref }}:package.json | node -e "let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>console.log(JSON.parse(d).version))") | |
| echo "Base version: $BASE_VERSION" | |
| echo "PR version: $PR_VERSION" | |
| if [ "$PR_VERSION" = "$BASE_VERSION" ]; then | |
| echo "::error::Version has not been bumped. Please update the version in package.json." | |
| exit 1 | |
| fi | |
| echo "Version bumped from $BASE_VERSION to $PR_VERSION ✓" |