Repository navigation
chore: bump @abap2ui5/linter #87
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: check-framework-pin | |
| # The abaplint configs here resolve abap2UI5 as a git dependency, and abaplint | |
| # clones the DEFAULT branch unless a `"branch"` key says otherwise. So these | |
| # samples used to be linted against the framework's development tip while every | |
| # reader of them has a RELEASE installed - a gap that hides two defects, both | |
| # silent: | |
| # | |
| # a sample uses API that exists only on main, this repository stays green, | |
| # and the reader who copies it gets a syntax error. That is not theoretical: | |
| # z2ui5_cl_ui5_view_builder was on main from 2026-08-12 and in no release | |
| # until 1.143.0, three weeks later. | |
| # | |
| # the framework changes something on main and the abaplint workflows here go | |
| # red overnight, with no commit in this repository to explain it. | |
| # | |
| # So every config names its branch explicitly. Since 2026-08-31 that branch is | |
| # `main` (the release-tag policy that preceded it coupled every corpus merge | |
| # using new framework API to a monthly framework release - the script's header | |
| # has the history); the downported 702 config names `702`, the one allowlisted | |
| # exception. What this gate keeps is that every config names ONE branch, and | |
| # says so: a missing key (abaplint would clone the default branch, silently), | |
| # a duplicate key (JSON takes the last one) or a feature-branch re-point that | |
| # survived its merge all fail here, so no config can quietly lint against a | |
| # different framework than its neighbours. | |
| # | |
| # Plain node, no dependencies, so it stays a few seconds and can run before any | |
| # install - which is also why `npm run check` puts it first. | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: check-framework-pin-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check-framework-pin: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: '22' | |
| - run: npm run check:pin |