mirror of
https://github.com/ARUP-CAS/aiscr-qgis-amcr-viewer.git
synced 2026-10-09 12:27:36 +02:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.1. - [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/v6.0.3...3d3c42e5aac5ba805825da76410c181273ba90b1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
name: Release PR Checks
|
||
|
||
# Hlídá bump verze a changelog v okamžiku, kdy se release větev
|
||
# version/vX.Y.Z slévá do main – tady poprvé jde skutečně o to, co se
|
||
# vydá, a zapomenutý bump by se jinak dostal rovnou k tagu a releasu.
|
||
#
|
||
# Kontroly viz tests/check_version_bump.py: verze v metadata.txt musí jít
|
||
# nahoru, první položka changelogu musí patřit nové verzi, CITATION.cff
|
||
# musí mít stejnou verzi (a posunuté date-released) a název větve musí
|
||
# odpovídat verzi, kterou nese.
|
||
|
||
on:
|
||
pull_request:
|
||
branches:
|
||
- main
|
||
|
||
permissions:
|
||
contents: read
|
||
|
||
jobs:
|
||
version-bump:
|
||
name: Kontrola verze a changelogu
|
||
runs-on: ubuntu-latest
|
||
if: startsWith(github.head_ref, 'version/')
|
||
|
||
steps:
|
||
- name: Checkout code
|
||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||
with:
|
||
fetch-depth: 0
|
||
|
||
- name: Set up Python
|
||
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
||
with:
|
||
python-version: '3.12'
|
||
|
||
- name: Verze a changelog
|
||
run: |
|
||
python3 tests/check_version_bump.py \
|
||
"${{ github.event.pull_request.base.sha }}" \
|
||
"${{ github.head_ref }}"
|