mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Bumps the action-dependencies group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish). Updates `actions/checkout` from 4.1.6 to 4.1.7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](a5ac7e51b4...692973e3d9) Updates `pypa/gh-action-pypi-publish` from 1.8.14 to 1.9.0 - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](81e9d935c8...ec4db0b4dd) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch dependency-group: action-dependencies - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-minor dependency-group: action-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
on:
|
|
schedule:
|
|
- cron: "0 13 * * *"
|
|
workflow_dispatch:
|
|
|
|
name: Specification version check
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
# Get the version of the TUF specification the project states it supports
|
|
get-supported-tuf-version:
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
version: ${{ steps.get-version.outputs.version }}
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
|
|
with:
|
|
python-version: "3.x"
|
|
- id: get-version
|
|
run: |
|
|
python3 -m pip install -e .
|
|
script="from tuf.api.metadata import SPECIFICATION_VERSION; \
|
|
print(f\"v{'.'.join(SPECIFICATION_VERSION)}\")"
|
|
ver=$(python3 -c "$script")
|
|
echo "version=$ver" >> $GITHUB_OUTPUT
|
|
# Get the latest TUF specification release and open an issue (if needed)
|
|
specification-bump-check:
|
|
permissions:
|
|
contents: read
|
|
issues: write
|
|
needs: get-supported-tuf-version
|
|
uses: theupdateframework/specification/.github/workflows/check-latest-spec-version.yml@master
|
|
with:
|
|
tuf-version: ${{needs.get-supported-tuf-version.outputs.version}}
|