Files
threshold-ui/.github/workflows/copyright-validate.yaml
T
Carlos Alcaide Corvo f607e77274 Automate copyright headers addition (#2440)
* Refactor checking headers to automatically add them
2024-08-19 14:22:27 -07:00

16 lines
558 B
YAML

name: Add Copyright Headers
on: pull_request
jobs:
copywrite:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: hashicorp/setup-copywrite@32638da2d4e81d56a0764aa1547882fc4d209636 # v1.1.3
- name: Add missing Copyright Headers
run: copywrite headers
- uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
with:
commit_message: Add missing copyright headers