Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ updates:
schedule:
interval: weekly
cooldown:
default-days: 3
default-days: 7
commit-message:
prefix: 'chore'
include: 'scope'
Expand All @@ -26,7 +26,7 @@ updates:
schedule:
interval: weekly
cooldown:
default-days: 3
default-days: 7
commit-message:
prefix: 'chore'
include: 'scope'
Expand All @@ -52,6 +52,7 @@ updates:
semver-patch-days: 3
semver-minor-days: 3
semver-major-days: 7
default-days: 7
open-pull-requests-limit: 10
commit-message:
prefix: 'chore'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
branches: [main]

permissions:
pull-requests: write
contents: read

jobs:
build-ubuntu:
Expand All @@ -31,6 +31,7 @@ jobs:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
persist-credentials: false

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
Expand Down Expand Up @@ -103,6 +104,7 @@ jobs:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
persist-credentials: false

- name: Use Node.js 24.x
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,18 @@ jobs:

- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- name: Initialize CodeQL
uses: github/codeql-action/init@cf463419fdde78c727231e445622a9ac37966f84 # ratchet:github/codeql-action/init@v4
uses: github/codeql-action/init@7188fc363630916deb702c7fdcf4e481b751f97a # v4.37.1
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@cf463419fdde78c727231e445622a9ac37966f84 # ratchet:github/codeql-action/autobuild@v4
uses: github/codeql-action/autobuild@7188fc363630916deb702c7fdcf4e481b751f97a # v4.37.1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@cf463419fdde78c727231e445622a9ac37966f84 # ratchet:github/codeql-action/analyze@v4
uses: github/codeql-action/analyze@7188fc363630916deb702c7fdcf4e481b751f97a # v4.37.1
with:
category: '/language:${{matrix.language}}'
5 changes: 4 additions & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ jobs:

- name: 'Checkout Repository'
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- name: Dependency Review
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v4
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
with:
comment-summary-in-pr: always
fail-on-severity: high
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:

- name: Checkout Repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- name: Log in to Docker Hub
if: github.repository_owner == 'finos'
Expand All @@ -39,7 +41,7 @@ jobs:
id: tags
run: |
if [ "${{ github.event_name }}" = "release" ]; then
echo "tags=${{ github.repository }}:${{ github.ref_name }},${{ github.repository }}:latest" >> $GITHUB_OUTPUT
echo "tags=${{ github.repository }}:${GITHUB_REF_NAME},${{ github.repository }}:latest" >> $GITHUB_OUTPUT
else
echo "tags=${{ github.repository }}:main" >> $GITHUB_OUTPUT
fi
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: E2E Tests

permissions:
contents: read
issues: write
pull-requests: write

on:
push:
Expand All @@ -28,6 +26,8 @@ jobs:

- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c
Expand All @@ -41,7 +41,7 @@ jobs:
uses: docker/setup-compose-action@3408803818f5b5065308cdf3293ecbddf1ab2fac

- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '24'
cache: 'npm'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/experimental-inventory-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ jobs:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
persist-credentials: false

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ matrix.node-version }}

Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/experimental-inventory-cli-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,21 @@ jobs:
egress-policy: audit

- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

# Setup .npmrc file to publish to npm
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '24.x'
registry-url: 'https://registry.npmjs.org'

- name: check version matches input
run: |
grep "\"version\": \"${{ github.event.inputs.version }}\"," package.json
grep "\"version\": \"${GITHUB_EVENT_INPUTS_VERSION}\"," package.json
working-directory: ./experimental/li-cli
env:
GITHUB_EVENT_INPUTS_VERSION: ${{ github.event.inputs.version }}

- run: npm ci
working-directory: ./experimental/li-cli
Expand All @@ -41,3 +45,5 @@ jobs:
working-directory: ./experimental/li-cli
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
persist-credentials: false
9 changes: 7 additions & 2 deletions .github/workflows/experimental-inventory-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,22 @@ jobs:
egress-policy: audit

- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

# Setup .npmrc file to publish to npm
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '24.x'
registry-url: 'https://registry.npmjs.org'
persist-credentials: false

- name: check version matches input
run: |
grep "\"version\": \"${{ github.event.inputs.version }}\"," package.json
grep "\"version\": \"${GITHUB_EVENT_INPUTS_VERSION}\"," package.json
working-directory: ./experimental/license-inventory
env:
GITHUB_EVENT_INPUTS_VERSION: ${{ github.event.inputs.version }}

- run: npm ci
working-directory: ./experimental/license-inventory
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ jobs:
egress-policy: audit

- name: Install NodeJS
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ env.NODE_VERSION }}

- name: Code Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
persist-credentials: false

- name: Install Dependencies
run: npm ci --workspaces
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Publish to NPM
on:
release:
# False positive: setup-node step doesn't use cache input
# zizmor: ignore[cache-poisoning]
types: [published]
permissions:
contents: read
Expand All @@ -16,8 +18,11 @@ jobs:
egress-policy: audit

- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

# Setup .npmrc file to publish to npm
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
name: 'PR'

on:
# PR target used in accordance with README
# zizmor: ignore[dangerous-triggers]
pull_request_target:
types:
- opened
Expand Down Expand Up @@ -54,7 +56,7 @@ jobs:
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: audit
- uses: release-drafter/release-drafter@4d75298e00d9e34c483e5ff8c68d0ea1c1940c1e # v7
- uses: release-drafter/release-drafter@eada3c96a64734dd381cfbda23511034e328ddb0 # v7.6.0
with:
commitish: main
env:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/sample-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Publish samples to NPM
on:
push:
tags:
# False positive: setup-node step doesn't use cache input
# zizmor: ignore[cache-poisoning]
- 'sample-*'

permissions:
Expand All @@ -17,8 +19,11 @@ jobs:
with:
egress-policy: audit
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

# Setup .npmrc file to publish to npm
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '24.x'
registry-url: 'https://registry.npmjs.org'
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/unused-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ jobs:

- name: 'Checkout Repository'
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- name: 'Setup Node.js'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '24.x'
- name: 'Run depcheck'
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: zizmor

# Static analysis of GitHub Actions workflows with zizmor
# (https://docs.zizmor.sh). Results are uploaded as SARIF to
# Code Scanning; findings do not fail the build.

on:
push:
branches: [main]
pull_request:
branches: [main]

permissions: {}

jobs:
zizmor:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write # SARIF upload to Code Scanning
steps:
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- name: Run zizmor
uses: zizmorcore/zizmor-action@192e21d79ab29983730a13d1382995c2307fbcaa # v0.5.7
with:
min-severity: low
min-confidence: low
Loading
Loading