Skip to content

Commit ffd1c44

Browse files
authored
Merge branch 'master' into disable-install-scripts
2 parents b53f18f + 2bfe76e commit ffd1c44

File tree

5 files changed

+40
-6
lines changed

5 files changed

+40
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1919

2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222
- name: Use Node.js ${{ matrix.node-version }}
2323
id: setup-node
2424
uses: ./

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0
1717
with:
1818
release-type: simple
19-
token: ${{ secrets.STEP_GITHUB_ACTION_TOKEN }}
19+
token: ${{ secrets.LINZ_GITHUB_AUTOMATION }}

.kodiak.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ version = 1
33
[approve]
44
auto_approve_usernames = ["dependabot"]
55

6-
[merge]
7-
automerge_label = "automerge 🚀"
8-
96
[merge.message]
107
include_coauthors = true
118
include_pull_request_url = true

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## [1.0.2](https://github.com/linz/action-setup-node/compare/v1.0.1...v1.0.2) (2026-03-03)
4+
5+
6+
### Bug Fixes
7+
8+
* **deps:** bump actions/checkout from 4 to 6 ([#4](https://github.com/linz/action-setup-node/issues/4)) ([bcbb12d](https://github.com/linz/action-setup-node/commit/bcbb12db1be4b6730c5fe2e32bf12caedc49ad0e))
9+
10+
## [1.0.1](https://github.com/linz/action-setup-node/compare/v1.0.0...v1.0.1) (2026-02-12)
11+
12+
13+
### Bug Fixes
14+
15+
* **deps:** bump actions/setup-node from 6.0.0 to 6.1.0 ([#3](https://github.com/linz/action-setup-node/issues/3)) ([c98b307](https://github.com/linz/action-setup-node/commit/c98b30788903d7602b6e7d9b0a9b268267712dd6))
16+
* **deps:** bump dependabot/fetch-metadata from 2.4.0 to 2.5.0 ([#6](https://github.com/linz/action-setup-node/issues/6)) ([f6040c5](https://github.com/linz/action-setup-node/commit/f6040c5dbb6c48e3b00e71286a08ea053e267ecf))
17+
318
## 1.0.0 (2025-12-12)
419

520

action.yaml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,28 @@ runs:
6262
env:
6363
SAFE_CHAIN_NPM_MINIMUM_PACKAGE_AGE_EXCLUSIONS: "@linz/*,@linzjs/*,@basemaps/*"
6464
run: |
65-
npm i -g @aikidosec/safe-chain
65+
set -Eeuo pipefail
66+
67+
MAX_ATTEMPTS=5
68+
DELAY=5 # seconds
69+
70+
echo "Installing @aikidosec/safe-chain globally with exponential backoff (max $MAX_ATTEMPTS attempts)..."
71+
for ATTEMPT in $(seq 1 "$MAX_ATTEMPTS"); do
72+
if npm install -g "@aikidosec/safe-chain"; then
73+
echo "✅ @aikidosec/safe-chain installed successfully on attempt $ATTEMPT"
74+
break
75+
fi
76+
77+
if [[ "$ATTEMPT" -eq "$MAX_ATTEMPTS" ]]; then
78+
echo "❌ Failed to install @aikidosec/safe-chain after $MAX_ATTEMPTS attempts"
79+
exit 1
80+
fi
81+
82+
echo "⚠️ Attempt $ATTEMPT failed. Retrying in $DELAYs..."
83+
sleep "$DELAY"
84+
DELAY=$(( DELAY * 2 )) # exponential backoff
85+
done
86+
87+
# Proceed with setup after successful install
6688
safe-chain setup-ci
6789
npm config set ignore-scripts true

0 commit comments

Comments
 (0)