Skip to content

chore: Remove the deny-warnings feature #106

chore: Remove the deny-warnings feature

chore: Remove the deny-warnings feature #106

Workflow file for this run

name: Check semver
on:
pull_request:
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
semver:
name: Check semver
runs-on: ubuntu-24.04
timeout-minutes: 20
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
fetch-depth: 1
fetch-tags: true
sparse-checkout: min_version.txt
sparse-checkout-cone-mode: false
- name: Get latest tag
id: tag
run: |
TAG=$(git tag --sort=-version:refname | head -n 1)
if [ -z "$TAG" ]; then
echo "::error::No tags found; cannot determine semver baseline"
exit 1
fi
echo "ref=$TAG" >> "$GITHUB_OUTPUT"
- uses: mozilla/actions/nss@27cbe8fb5d338c2861b787e5de10410559065db1 # v1.1.3
with:
version-file: min_version.txt
token: ${{ secrets.GITHUB_TOKEN }}
- uses: mozilla/actions/semver@27cbe8fb5d338c2861b787e5de10410559065db1 # v1.1.3
with:
base-ref: ${{ steps.tag.outputs.ref }}