Skip to content

Commit

Permalink
chore(deps): upgrade actions/github-script & remove node-fetch (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiehan committed Nov 24, 2023
1 parent 81fc3da commit 1a5a6a0
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-lint.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/upgrade-node.yml

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

5 changes: 0 additions & 5 deletions .projen/deps.json

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

7 changes: 3 additions & 4 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const shortName = name.replace(/^@?cdktf[-\/]/g, "");
const githubActionPinnedVersions = {
"actions/checkout": "b4ffde65f46336ab88eb53be808477a3936bae11", // v4.1.1
"actions/download-artifact": "9bc31d5ccc31df68ecc42ccf4149144866c47d8a", // v3.0.2
"actions/github-script": "d7906e4ad0b1822421a7e6a35d5ca353c962f410", // v6.4.1
"actions/github-script": "60a0d83039c74a4aee543508d2ffcb1c3799cdea", // v7.0.1
"actions/setup-node": "8f152de45cc393bb48ce5d89d36b731f54556e65", // v4.0.0
"actions/upload-artifact": "a8a3f3ad30e3422c9c7b888a15615d19a852ae32", // v3.1.3
"amannn/action-semantic-pull-request":
"47b15d52c5c30e94a17ec87eb8dd51ff5221fed9", // v5.3.0
"e9fabac35e210fea40ca5b14c0da95a099eff26f", // v5.4.0
"peter-evans/create-pull-request": "153407881ec5c347639a548ade7d8ad1d6740e38", // v5.0.2
};

Expand Down Expand Up @@ -88,8 +88,7 @@ project.addPeerDeps(
project.addDevDeps(
"change-case",
"@action-validator/core",
"@action-validator/cli",
"node-fetch@~2" // @TODO this can be removed once we upgrade to Node 18 and use native fetch
"@action-validator/cli"
);

new CustomizedLicense(project);
Expand Down
1 change: 0 additions & 1 deletion package.json

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

2 changes: 0 additions & 2 deletions scripts/check-node-versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
const fetch = require("node-fetch"); // @TODO this can be removed once we upgrade to Node 18 and use native fetch

const today = new Date();
const oneMonthFromToday = new Date();
oneMonthFromToday.setDate(today.getDate() + 30);
Expand Down
25 changes: 0 additions & 25 deletions yarn.lock

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

0 comments on commit 1a5a6a0

Please sign in to comment.