Skip to content

Issue #246, list --deprecated, implemented #128

Issue #246, list --deprecated, implemented

Issue #246, list --deprecated, implemented #128

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@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
with:
egress-policy: audit
- name: Checkout devtools
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Check copyright notice
run: |
pip install \
pre-commit \
comment-parser>=1.2.3
pre-commit run --all-files