Skip to content

Commit d6dafcd

Browse files
authored
Maintenance (#18)
1 parent 0f2bccb commit d6dafcd

File tree

7 files changed

+72
-67
lines changed

7 files changed

+72
-67
lines changed

.copywrite.hcl

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright (c) HashiCorp, Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
schema_version = 1
5+
6+
project {
7+
license = "Apache-2.0"
8+
copyright_holder = "HashiCorp, Inc."
9+
copyright_year = 2022
10+
11+
header_ignore = [
12+
"dist/*",
13+
"node_modules/",
14+
]
15+
}

.github/workflows/compliance.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: "HashiCorp: Compliance"
3+
4+
on:
5+
push:
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
copywrite:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout Repository
15+
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
16+
with:
17+
# Full git history is needed to get a proper list of changed files within `super-linter`
18+
fetch-depth: 0
19+
20+
- uses: hashicorp/setup-copywrite@867a1a2a064a0626db322392806428f7dc59cb3e # v1.1.2
21+
22+
- run: copywrite headers --plan
23+
24+
- run: copywrite license --plan

.github/workflows/superlinter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout Repository
13-
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
13+
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
1414
with:
1515
# Full git history is needed to get a proper list of changed files within `super-linter`
1616
fetch-depth: 0

.release-it.json

Lines changed: 0 additions & 34 deletions
This file was deleted.

package-lock.json

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hashicorp/github-actions-core",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"description": "A library of functions shared between GitHub Actions.",
55
"main": "./dist/index.js",
66
"scripts": {

setup-binary.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async function fetchBinary(
4141
const isValidVersion = semver.validRange(version);
4242
if (!isValidVersion && version !== "latest") {
4343
throw new Error(
44-
"Invalid version, only valid semver versions or 'latest' are allowed",
44+
"Invalid version, only valid SemVer versions or 'latest' are allowed",
4545
);
4646
}
4747

0 commit comments

Comments
 (0)