From 14d64652ef4f6a6b53766c3fb72c0a4fcd0652f8 Mon Sep 17 00:00:00 2001 From: Kerim Satirli Date: Wed, 24 Apr 2024 11:38:29 +0200 Subject: [PATCH] adds action for compliance purposes --- .github/workflows/compliance.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/compliance.yml 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