diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml new file mode 100644 index 0000000..e32af26 --- /dev/null +++ b/.github/workflows/compliance.yml @@ -0,0 +1,24 @@ +--- +name: "HashiCorp: Compliance" + +on: + push: + +permissions: + contents: read + +jobs: + copywrite: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 + with: + # Full git history is needed to get a proper list of changed files within `super-linter` + fetch-depth: 0 + + - uses: hashicorp/setup-copywrite@867a1a2a064a0626db322392806428f7dc59cb3e # v1.1.2 + + - run: copywrite headers --plan + + - run: copywrite license --plan