mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8f4b7f8486...8e5e7e5ab8)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
|
|
- uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435
|
|
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}}
|