Skip to content

Commit ec16285

Browse files
fix: minimum package age exclusion. (#15)
1 parent affb0f9 commit ec16285

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v6
22-
- name: Use Node.js ${{ matrix.node-version }}
22+
- name: Call action to use Node.js ${{ matrix.node-version }}
2323
id: setup-node
2424
uses: ./
2525
with:
@@ -29,6 +29,7 @@ jobs:
2929
run: |
3030
source assert.sh
3131
assert_eq "$(node -v)" "${{ steps.setup-node.outputs.node-version }}"
32+
assert_eq "@linz/*,@linzjs/*,@basemaps/*" "$SAFE_CHAIN_MINIMUM_PACKAGE_AGE_EXCLUSIONS"
3233
3334
- name: Test Safe Chains
3435
run: |

action.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,12 @@ runs:
6060
- name: Setup Aikido Safe-Chain
6161
shell: bash
6262
env:
63-
SAFE_CHAIN_NPM_MINIMUM_PACKAGE_AGE_EXCLUSIONS: "@linz/*,@linzjs/*,@basemaps/*"
63+
SAFE_CHAIN_MINIMUM_PACKAGE_AGE_EXCLUSIONS: "@linz/*,@linzjs/*,@basemaps/*"
6464
run: |
6565
set -Eeuo pipefail
6666
67+
echo "SAFE_CHAIN_MINIMUM_PACKAGE_AGE_EXCLUSIONS=${SAFE_CHAIN_MINIMUM_PACKAGE_AGE_EXCLUSIONS}" >> "$GITHUB_ENV"
68+
6769
MAX_ATTEMPTS=5
6870
DELAY=5 # seconds
6971

0 commit comments

Comments
 (0)