Skip to content

Remove old duplicate build constraints #43

Remove old duplicate build constraints

Remove old duplicate build constraints #43

name: check copyright
on:
pull_request:
paths:
- '.github/workflows/check-copyright.yml'
- '.pre-commit-config.yaml'
- 'scripts/check_copyright_notice.py'
- '**/*.go'
- '!**/docs/**/*'
- '!**/*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
copyright:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- name: Checkout devtools
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Check copyright notice
run: |
pip install \
pre-commit \
comment-parser>=1.2.3
pre-commit run --all-files