Update for issue #1722 #1997
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: global | |
on: | |
pull_request: | |
release: | |
types: [ published ] | |
permissions: | |
contents: read | |
jobs: | |
copyright: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Harden Runner | |
if: ${{ !github.event.repository.private }} | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- name: Checkout devtools | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Check copyright notice | |
run: | | |
pip install \ | |
pre-commit \ | |
python-magic==0.4.18 \ | |
comment-parser>=1.2.3 | |
pre-commit run --all-files |