Skip to content
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/buildAndPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
contents: read
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
with:
fetch-depth: 0 # Full history needed for change detection
persist-credentials: false

# Check for changes in the src directory excluding .md files
- uses: navikt/sf-platform/.github/actions/checkForPackageChanges@8e4d95d394a4c0824ca56036b86a438894a84b49
- uses: navikt/sf-platform/.github/actions/checkForPackageChanges@b79b17356be49158fff788019a38a8cf0e60d964
id: checkChanges

buildAndPublish:
Expand All @@ -68,7 +68,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
with:
fetch-depth: 0 # Full history for release definition and changelog
persist-credentials: true
Expand Down Expand Up @@ -155,14 +155,14 @@ jobs:

- name: Push logged metrics
if: always() # Always push metrics regardless of build success
uses: navikt/sf-platform/.github/actions/pushLoggedMetrics@8e4d95d394a4c0824ca56036b86a438894a84b49
uses: navikt/sf-platform/.github/actions/pushLoggedMetrics@b79b17356be49158fff788019a38a8cf0e60d964
with:
metricsKey: ${{ secrets.METRICS_KEYS }}

# Upload build artifacts and logs if present
- name: Upload Artifacts and Logs
if: steps.build.outputs.artifactsFound == 'true'
uses: navikt/sf-platform/.github/actions/uploadWorkflowArtifactsAndLogs@8e4d95d394a4c0824ca56036b86a438894a84b49
uses: navikt/sf-platform/.github/actions/uploadWorkflowArtifactsAndLogs@b79b17356be49158fff788019a38a8cf0e60d964
with:
artifactName: build-artifacts
uploadArtifacts: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ciStaticCodeValidation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
version: ${{ vars.SF_CLI_VERSION }}

- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
with:
ref: ${{ inputs.gitRef }}
fetch-depth: "0"
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:

- name: Prettier Check
if: ${{ !cancelled() && steps.paths.outcome == 'success' }}
uses: navikt/sf-platform/.github/actions/prettierCheck@8e4d95d394a4c0824ca56036b86a438894a84b49
uses: navikt/sf-platform/.github/actions/prettierCheck@b79b17356be49158fff788019a38a8cf0e60d964
with:
pathToValidate: ${{ steps.paths.outputs.prettierPathsToValidate }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/createRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
registry-url: https://npm.pkg.github.com

- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
with:
fetch-depth: 0 # Full history for release definition and changelog
persist-credentials: true
Expand Down Expand Up @@ -272,6 +272,6 @@ jobs:
echo "::endgroup::"

- name: Push logged metrics
uses: navikt/sf-platform/.github/actions/pushLoggedMetrics@8e4d95d394a4c0824ca56036b86a438894a84b49
uses: navikt/sf-platform/.github/actions/pushLoggedMetrics@b79b17356be49158fff788019a38a8cf0e60d964
with:
metricsKey: ${{ secrets.METRICS_KEYS }}
8 changes: 4 additions & 4 deletions .github/workflows/quickbuildOnPush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
contents: read
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
with:
fetch-depth: 0
persist-credentials: false
- uses: navikt/sf-platform/.github/actions/checkForPackageChanges@8e4d95d394a4c0824ca56036b86a438894a84b49
- uses: navikt/sf-platform/.github/actions/checkForPackageChanges@b79b17356be49158fff788019a38a8cf0e60d964
id: checkChanges

quickBuild:
Expand All @@ -42,7 +42,7 @@ jobs:
packages: write
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
with:
fetch-depth: 0
persist-credentials: true
Expand All @@ -64,7 +64,7 @@ jobs:

- name: Upload artifacts and logs
if: always()
uses: navikt/sf-platform/.github/actions/uploadWorkflowArtifactsAndLogs@8e4d95d394a4c0824ca56036b86a438894a84b49
uses: navikt/sf-platform/.github/actions/uploadWorkflowArtifactsAndLogs@b79b17356be49158fff788019a38a8cf0e60d964
with:
artifactName: build-artifacts
uploadArtifacts: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releaseToDev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ jobs:
auth_token: ${{ secrets.GITHUB_TOKEN }}

- name: Push logged metrics
uses: navikt/sf-platform/.github/actions/pushLoggedMetrics@8e4d95d394a4c0824ca56036b86a438894a84b49
uses: navikt/sf-platform/.github/actions/pushLoggedMetrics@b79b17356be49158fff788019a38a8cf0e60d964
with:
metricsKey: ${{ secrets.METRICS_KEYS }}
2 changes: 1 addition & 1 deletion .github/workflows/releaseToProd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ jobs:
auth_token: ${{ secrets.GITHUB_TOKEN }}

- name: Push logged metrics
uses: navikt/sf-platform/.github/actions/pushLoggedMetrics@8e4d95d394a4c0824ca56036b86a438894a84b49
uses: navikt/sf-platform/.github/actions/pushLoggedMetrics@b79b17356be49158fff788019a38a8cf0e60d964
with:
metricsKey: ${{ secrets.METRICS_KEYS }}
10 changes: 5 additions & 5 deletions .github/workflows/validatePackageChangesOnPr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
contents: read
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
with:
fetch-depth: 0
persist-credentials: false

- uses: navikt/sf-platform/.github/actions/checkForPackageChanges@8e4d95d394a4c0824ca56036b86a438894a84b49
- uses: navikt/sf-platform/.github/actions/checkForPackageChanges@b79b17356be49158fff788019a38a8cf0e60d964
id: checkChanges

validateChanges:
Expand All @@ -53,7 +53,7 @@ jobs:
PULL_REQUEST_ID: ${{ github.event.pull_request.node_id }}
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
with:
fetch-depth: 0
persist-credentials: false
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
fi

- name: Push logged metrics
uses: navikt/sf-platform/.github/actions/pushLoggedMetrics@8e4d95d394a4c0824ca56036b86a438894a84b49
uses: navikt/sf-platform/.github/actions/pushLoggedMetrics@b79b17356be49158fff788019a38a8cf0e60d964
with:
metricsKey: ${{ secrets.METRICS_KEYS }}

Expand All @@ -121,6 +121,6 @@ jobs:
pull-requests: write
steps:
- name: Set pull request to draft
uses: navikt/sf-platform/.github/actions/setPrToDraft@8e4d95d394a4c0824ca56036b86a438894a84b49
uses: navikt/sf-platform/.github/actions/setPrToDraft@b79b17356be49158fff788019a38a8cf0e60d964
with:
pullRequestId: ${{ github.event.pull_request.node_id }}
4 changes: 2 additions & 2 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
actions: read
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
with:
persist-credentials: false

- name: Install the latest version of uv
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244

- name: Run zizmor
run: uvx zizmor --format sarif . > results.sarif
Expand Down
Loading