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/setup-python](https://github.com/actions/setup-python) and [actions/download-artifact](https://github.com/actions/download-artifact). Updates `actions/setup-python` from 5.5.0 to 5.6.0 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](8d9ed9ac5c...a26af69be9) Updates `actions/download-artifact` from 4.2.1 to 4.3.0 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](95815c38cf...d3f86a106a) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: 5.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: action-dependencies - dependency-name: actions/download-artifact dependency-version: 4.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: action-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
38 lines
1.3 KiB
YAML
38 lines
1.3 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
|
with:
|
|
python-version: "3.x"
|
|
- id: get-version
|
|
run: |
|
|
python3 -m pip install -r requirements/pinned.txt
|
|
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}}
|