Files
container-prebuilt-action/.github/workflows/version-check.yml
dependabot[bot] 73938418ec Bump issue-ops/semver from 1.0.0 to 1.1.0 in the actions-minor group
Bumps the actions-minor group with 1 update: [issue-ops/semver](https://github.com/issue-ops/semver).


Updates `issue-ops/semver` from 1.0.0 to 1.1.0
- [Release notes](https://github.com/issue-ops/semver/releases)
- [Commits](https://github.com/issue-ops/semver/compare/v1.0.0...v1.1.0)

---
updated-dependencies:
- dependency-name: issue-ops/semver
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 11:31:35 +00:00

40 lines
879 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: .version
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@v4
with:
fetch-tags: true
- name: Check Version
id: check-version
uses: issue-ops/semver@v1.1.0
with:
check-only: true
manifest-path: ${{ env.MANIFEST_PATH }}