Skip to content

[pull] master from DataDog:master #5193

[pull] master from DataDog:master

[pull] master from DataDog:master #5193

name: release-hash-check
on:
pull_request:
branches:
- master
- '7.[0-9]+.x'
paths:
- .in-toto/*.link
- .github/workflows/release-hash-check.yml
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.13'
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5
with:
files: .in-toto/*.link
- if: steps.changed-files.outputs.any_changed == 'true'
run: python .github/workflows/release-hash-check.py ${{ steps.changed-files.outputs.all_changed_files }}