From 8c03b1dd8a039fb3134d17565237eee4c1748c0c Mon Sep 17 00:00:00 2001 From: "hashicorp-copywrite[bot]" <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Date: Mon, 8 May 2023 16:24:38 +0000 Subject: [PATCH] [COMPLIANCE] Add Copyright and License Headers --- .changie.yaml | 3 +++ action.yml | 3 +++ dist/index.js | 5 +++++ dist/index1.js | 5 +++++ index.js | 5 +++++ lib/setup-terraform.js | 5 +++++ test/setup-terraform.test.js | 5 +++++ wrapper/lib/output-listener.js | 5 +++++ wrapper/lib/terraform-bin.js | 5 +++++ wrapper/terraform.js | 5 +++++ wrapper/test/output-listener.test.js | 5 +++++ 11 files changed, 51 insertions(+) diff --git a/.changie.yaml b/.changie.yaml index 2bf6de8..c5aa981 100644 --- a/.changie.yaml +++ b/.changie.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + changesDir: .changes unreleasedDir: unreleased changelogPath: CHANGELOG.md diff --git a/action.yml b/action.yml index 0077ecd..97cddcf 100644 --- a/action.yml +++ b/action.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + name: 'HashiCorp - Setup Terraform' description: 'Sets up Terraform CLI in your GitHub Actions workflow.' author: 'HashiCorp, Inc.' diff --git a/dist/index.js b/dist/index.js index 85f35b3..fbd89d2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ diff --git a/dist/index1.js b/dist/index1.js index d6abaf3..ef4cedb 100755 --- a/dist/index1.js +++ b/dist/index1.js @@ -1,4 +1,9 @@ #!/usr/bin/env node +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ diff --git a/index.js b/index.js index 05a049a..aa9fd40 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + const core = require('@actions/core'); const setup = require('./lib/setup-terraform'); diff --git a/lib/setup-terraform.js b/lib/setup-terraform.js index 1e61d2c..3e726cf 100644 --- a/lib/setup-terraform.js +++ b/lib/setup-terraform.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // Node.js core const fs = require('fs').promises; const os = require('os'); diff --git a/test/setup-terraform.test.js b/test/setup-terraform.test.js index 367de90..57cda0f 100644 --- a/test/setup-terraform.test.js +++ b/test/setup-terraform.test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // Mock external modules by default jest.mock('@actions/core'); jest.mock('@actions/tool-cache'); diff --git a/wrapper/lib/output-listener.js b/wrapper/lib/output-listener.js index 248561e..9686dba 100644 --- a/wrapper/lib/output-listener.js +++ b/wrapper/lib/output-listener.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + /** * Acts as a listener for @actions/exec, by capturing STDOUT and STDERR * streams, and exposing them via a contents attribute. diff --git a/wrapper/lib/terraform-bin.js b/wrapper/lib/terraform-bin.js index 3616d8f..478ff6a 100644 --- a/wrapper/lib/terraform-bin.js +++ b/wrapper/lib/terraform-bin.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + const os = require('os'); const path = require('path'); diff --git a/wrapper/terraform.js b/wrapper/terraform.js index b0311af..eddcb35 100755 --- a/wrapper/terraform.js +++ b/wrapper/terraform.js @@ -1,4 +1,9 @@ #!/usr/bin/env node +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + const io = require('@actions/io'); const core = require('@actions/core'); const { exec } = require('@actions/exec'); diff --git a/wrapper/test/output-listener.test.js b/wrapper/test/output-listener.test.js index 6023ab5..229c3cf 100644 --- a/wrapper/test/output-listener.test.js +++ b/wrapper/test/output-listener.test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + const OutputListener = require('../lib/output-listener'); describe('output-listener', () => {