workflow action for copyright headers (#2345)

This commit is contained in:
Dharini Jeeva authored and GitHub committed 2024-06-27 11:06:41 -07:00
1 parent 7de68bacae
commit 17db3cba68
3 files changed
+20

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
name: Check Copyright Headers
on: pull_request
jobs:
copywrite:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: hashicorp/setup-copywrite@32638da2d4e81d56a0764aa1547882fc4d209636 # v1.1.3
- name: Check Header Compliance
run: copywrite headers --plan
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import Service, { inject as service } from '@ember/service';
export default class ClientAgentSessionsService extends Service {
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import { module, test } from 'qunit';
import { setupTest } from 'desktop/tests/helpers';