Files
container-prebuilt-action/.github/workflows/version-check.yml
dependabot[bot] 797d1f00c7 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 21:10:38 +00:00

40 lines
877 B
YAML

# This workflow checks the version of the container image that is being built
# in the current pull request. If the version has already been published, the
# workflow fails to prevent PRs from being merged until the version has been
# incremented in the manifest file.
name: Version Check
on:
pull_request:
branches:
- main
env:
MANIFEST_PATH: action.yml
permissions:
checks: write
contents: read
pull-requests: write
jobs:
check-version:
name: Version Check
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v5
with:
fetch-tags: true
- name: Check Version
id: check-version
uses: issue-ops/semver@v2
with:
check-only: true
manifest-path: ${{ env.MANIFEST_PATH }}