Skip to content

TF-33257 HCP Terraform & Enterprise Docs Update Notification Configur… #2021

TF-33257 HCP Terraform & Enterprise Docs Update Notification Configur…

TF-33257 HCP Terraform & Enterprise Docs Update Notification Configur… #2021

name: 'Check Copyright Headers'
permissions:
contents: read
on:
pull_request:
paths:
- '**.js'
- '**.jsx'
- '**.ts'
- '**.tsx'
- '**.mjs'
push:
branches: ['main']
jobs:
check-headers:
name: 'Check Copyright Headers'
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Install copywrite
uses: hashicorp/setup-copywrite@32638da2d4e81d56a0764aa1547882fc4d209636 # v1.1.3
- name: Validate Header Compliance
run: copywrite headers --plan