Skip to content

Commit

Permalink
Merge pull request #335 from cdktf/chore/use-copywrite-version
Browse files Browse the repository at this point in the history
chore: pin hashicorp/setup-copywrite version
  • Loading branch information
mutahhir authored Aug 25, 2023
2 parents 9cb5c6d + 5ae5939 commit 686fe95
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/copyright-headers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class CopyrightHeaders {
project.buildWorkflow?.addPostBuildSteps(
{
name: "Setup Copywrite tool",
uses: "hashicorp/setup-copywrite@867a1a2a064a0626db322392806428f7dc59cb3e", // v1.1.2
uses: "hashicorp/setup-copywrite",
},
{ name: "Add headers using Copywrite tool", run: "copywrite headers" }
);
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ const githubActionPinnedVersions = {
"imjohnbo/issue-bot": "6924a99d928dc228f407d34eb3d0149eda73f2a7", // v3.4.3
"actions/stale": "1160a2240286f5da8ec72b1c0816ce2481aabf84", // v8.0.0
"slackapi/slack-github-action": "e28cf165c92ffef168d23c5c9000cffc8a25e117", // v1.24.0
"hashicorp/setup-copywrite": "867a1a2a064a0626db322392806428f7dc59cb3e", // v1.1.2
};

export class CdktfProviderProject extends cdk.JsiiProject {
Expand Down Expand Up @@ -155,7 +156,7 @@ export class CdktfProviderProject extends cdk.JsiiProject {
},
{
name: "Setup Copywrite tool",
uses: "hashicorp/setup-copywrite@867a1a2a064a0626db322392806428f7dc59cb3e", // v1.1.2
uses: "hashicorp/setup-copywrite",
},
{
name: "Copy copywrite hcl file",
Expand Down
6 changes: 3 additions & 3 deletions test/__snapshots__/index.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 686fe95

Please sign in to comment.