Skip to content

Commit

Permalink
[DO NOT MERGE UNTIL EOY] EOY license fixes 1.14.x (#24390)
Browse files Browse the repository at this point in the history
  • Loading branch information
1 parent 8993802 commit 48ab1ea
Show file tree
Hide file tree
Showing 1,913 changed files with 4,709 additions and 1,603 deletions.
6 changes: 3 additions & 3 deletions .copywrite.hcl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
schema_version = 1

project {
license = "MPL-2.0"
copyright_year = 2015
license = "BUSL-1.1"
copyright_year = 2024

# (OPTIONAL) A list of globs that should not have copyright/license headers.
# Supports doublestar glob patterns for more flexibility in defining which
Expand All @@ -11,6 +11,6 @@ project {
"builtin/credential/aws/pkcs7/**",
"ui/node_modules/**",
"enos/modules/k8s_deploy_vault/raft-config.hcl",
"plugins/database/postgresql/scram/**"
"plugins/database/postgresql/scram/**",
]
}
3 changes: 3 additions & 0 deletions .github/actions/set-up-go/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1

---
name: Set up Go with a shared module cache
description: Set up Go with a shared module cache
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/set-up-gotestsum/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1

---
name: Set up gotestsum from Github releases
description: Set up gotestsum from Github releases
Expand Down
3 changes: 3 additions & 0 deletions .github/scripts/gh_comment.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1


set -e

Expand Down
3 changes: 3 additions & 0 deletions .github/scripts/report_failed_builds.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1


set -e

Expand Down
3 changes: 3 additions & 0 deletions .github/scripts/report_failed_tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1


set -e
MAX_TESTS=10
Expand Down
3 changes: 3 additions & 0 deletions .github/scripts/verify_changes.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1

# This script validates if the git diff contains only docs/ui changes

event_type=$1 # GH event type (pull_request)
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/copywrite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Check Copywrite Headers

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- main
- release/**

jobs:
copywrite:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: hashicorp/setup-copywrite@867a1a2a064a0626db322392806428f7dc59cb3e # v1.1.2
name: Setup Copywrite
with:
version: v0.16.4
archive-checksum: c299f830e6eef7e126a3c6ef99ac6f43a3c132d830c769e0d36fa347fa1af254
- name: Check Header Compliance
run: make ci-copywriteheaders
permissions:
contents: read

0 comments on commit 48ab1ea

Please sign in to comment.