Skip to content

Commit a8da3b0

Browse files
chore(deps): bump super-linter/super-linter from 7 to 8 (#53)
* chore(deps): bump super-linter/super-linter from 7 to 8 Bumps [super-linter/super-linter](https://github.com/super-linter/super-linter) from 7 to 8. - [Release notes](https://github.com/super-linter/super-linter/releases) - [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md) - [Commits](super-linter/super-linter@v7...v8) --- updated-dependencies: - dependency-name: super-linter/super-linter dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: superlinter fixes * chore: configure zizmor * chore: fix zizmor config file * chore: rename zizmore config file --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: DJ Mountney <dj@currents.dev>
1 parent b779e5d commit a8da3b0

File tree

7 files changed

+40
-9
lines changed

7 files changed

+40
-9
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ updates:
44
directory: /
55
schedule:
66
interval: weekly
7+
day: monday
8+
cooldown:
9+
default-days: 14 # 2 weeks
710
groups:
811
actions-minor:
912
update-types:
@@ -14,6 +17,9 @@ updates:
1417
directory: /
1518
schedule:
1619
interval: weekly
20+
day: monday
21+
cooldown:
22+
default-days: 14 # 2 weeks
1723
groups:
1824
npm-development:
1925
dependency-type: development

.github/linters/zizmor.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
rules:
2+
unpinned-uses:
3+
disable: true

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
- name: Checkout
3232
id: checkout
3333
uses: actions/checkout@v4
34+
with:
35+
persist-credentials: false
3436

3537
- name: Initialize CodeQL
3638
id: initialize

.github/workflows/linter.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
uses: actions/checkout@v4
2525
with:
2626
fetch-depth: 0
27+
persist-credentials: false
2728

2829
- name: Setup Node.js
2930
id: setup-node
@@ -40,7 +41,7 @@ jobs:
4041
run: npm run lint
4142
- name: Lint Codebase
4243
id: super-linter
43-
uses: super-linter/super-linter/slim@v7
44+
uses: super-linter/super-linter/slim@v8
4445
env:
4546
DEFAULT_BRANCH: main
4647
FILTER_REGEX_EXCLUDE: dist/**/*
@@ -50,3 +51,6 @@ jobs:
5051
VALIDATE_JAVASCRIPT_STANDARD: false
5152
VALIDATE_JSCPD: false
5253
VALIDATE_TYPESCRIPT_STANDARD: false
54+
VALIDATE_BIOME_FORMAT: false
55+
VALIDATE_BIOME_LINT: false
56+
VALIDATE_TRIVY: false

.github/workflows/test.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,21 @@ jobs:
2424
steps:
2525
- name: Checkout repository
2626
uses: actions/checkout@v4
27+
with:
28+
persist-credentials: false
2729

2830
- name: Set up Node.js
2931
uses: actions/setup-node@v4
3032
with:
3133
node-version: '18'
3234

3335
- name: Print inputs for debugging (Sharding)
36+
env:
37+
RECORD_KEY: ${{ env.CURRENTS_RECORD_KEY }}
38+
SHARD: ${{ matrix.shard }}
3439
run: |
35-
echo "Key: ${{ env.CURRENTS_RECORD_KEY }}"
36-
echo "Matrix Index: ${{ matrix.shard }}"
40+
echo "Key: $RECORD_KEY"
41+
echo "Matrix Index: $SHARD"
3742
- name: Run My Action (Sharding)
3843
id: sharding_action
3944
uses: ./
@@ -44,8 +49,10 @@ jobs:
4449
matrix-total: 2
4550

4651
- name: Verify Action Output (Sharding)
52+
env:
53+
EXTRA_FLAGS: ${{ steps.sharding_action.outputs.extra-pw-flags }}
4754
run: |
48-
echo "Extra Playwright Flags: ${{ steps.sharding_action.outputs.extra-pw-flags }}"
55+
echo "Extra Playwright Flags: $EXTRA_FLAGS"
4956
5057
test-action-or8n:
5158
strategy:
@@ -61,16 +68,21 @@ jobs:
6168
steps:
6269
- name: Checkout repository
6370
uses: actions/checkout@v4
71+
with:
72+
persist-credentials: false
6473

6574
- name: Set up Node.js
6675
uses: actions/setup-node@v4
6776
with:
6877
node-version: '18'
6978

7079
- name: Print inputs for debugging (Or8n)
80+
env:
81+
API_KEY: ${{ env.CURRENTS_API_KEY }}
82+
PROJECT_ID: ${{ env.CURRENTS_PROJECT_ID }}
7183
run: |
72-
echo "API Key: ${{ env.CURRENTS_API_KEY }}"
73-
echo "Project ID: ${{ env.CURRENTS_PROJECT_ID }}"
84+
echo "API Key: $API_KEY"
85+
echo "Project ID: $PROJECT_ID"
7486
7587
- name: Run My Action (Or8n)
7688
id: or8n_action
@@ -82,5 +94,7 @@ jobs:
8294
pw-output-dir: basic/test-results
8395

8496
- name: Verify Action Output (Or8n)
97+
env:
98+
EXTRA_FLAGS: ${{ steps.or8n_action.outputs.extra-pw-flags }}
8599
run: |
86-
echo "Extra Playwright Flags: ${{ steps.or8n_action.outputs.extra-pw-flags }}"
100+
echo "Extra Playwright Flags: $EXTRA_FLAGS"

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
cancel-in-progress: true
1919
steps:
2020
- uses: actions/checkout@v4
21+
with:
22+
persist-credentials: false
2123
- uses: actions/setup-node@v4
2224
with:
2325
node-version: 18

script/release

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ fi
9393

9494
# 8. Point separate major release tag (e.g. v1, v2) to the new release
9595
if [ $is_major_release = 'yes' ]; then
96-
# Create a new major verison tag and point it to this release
96+
# Create a new major version tag and point it to this release
9797
git tag "$new_major_release_tag" --annotate --message "$new_major_release_tag Release"
9898
echo -e "New major version tag: ${BOLD_GREEN}$new_major_release_tag${OFF}"
9999
else
100-
# Update the major verison tag to point it to this release
100+
# Update the major version tag to point it to this release
101101
git tag "$latest_major_release_tag" --force --annotate --message "Sync $latest_major_release_tag tag with $new_tag"
102102
echo -e "Synced ${BOLD_GREEN}$latest_major_release_tag${OFF} with ${BOLD_GREEN}$new_tag${OFF}"
103103
fi

0 commit comments

Comments
 (0)