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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
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@b79b17356be49158fff788019a38a8cf0e60d964
- uses: navikt/sf-platform/.github/actions/checkForPackageChanges@eed9b4e63657f61d5235bb59aee03b59739efb6c
id: checkChanges

buildAndPublish:
Expand All @@ -68,7 +68,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
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@b79b17356be49158fff788019a38a8cf0e60d964
uses: navikt/sf-platform/.github/actions/pushLoggedMetrics@eed9b4e63657f61d5235bb59aee03b59739efb6c
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@b79b17356be49158fff788019a38a8cf0e60d964
uses: navikt/sf-platform/.github/actions/uploadWorkflowArtifactsAndLogs@eed9b4e63657f61d5235bb59aee03b59739efb6c
with:
artifactName: build-artifacts
uploadArtifacts: true
Expand Down
6 changes: 3 additions & 3 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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
with:
ref: ${{ inputs.gitRef }}
fetch-depth: "0"
Expand Down Expand Up @@ -90,14 +90,14 @@ jobs:

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

- name: Run Salesforce Code Analyzer
id: run-code-analyzer
if: ${{ !cancelled() && steps.paths.outcome == 'success' }}
uses: forcedotcom/run-code-analyzer@e88e434ef258c182fe4cb5d8f0c9f282384fd4b5
uses: forcedotcom/run-code-analyzer@a1f89d329e1b86edb58dedb220b579cbd2979264
with:
run-arguments: --workspace ${{ steps.paths.outputs.sfCodeAnalyzerPathToValidate }} --view detail --output-file sfca_results.html --output-file sfca_results.json --output-file code-analyzer-report.sarif
results-artifact-name: salesforce-code-analyzer-results
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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
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@b79b17356be49158fff788019a38a8cf0e60d964
uses: navikt/sf-platform/.github/actions/pushLoggedMetrics@eed9b4e63657f61d5235bb59aee03b59739efb6c
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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
with:
fetch-depth: 0
persist-credentials: false
- uses: navikt/sf-platform/.github/actions/checkForPackageChanges@b79b17356be49158fff788019a38a8cf0e60d964
- uses: navikt/sf-platform/.github/actions/checkForPackageChanges@eed9b4e63657f61d5235bb59aee03b59739efb6c
id: checkChanges

quickBuild:
Expand All @@ -42,7 +42,7 @@ jobs:
packages: write
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
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@b79b17356be49158fff788019a38a8cf0e60d964
uses: navikt/sf-platform/.github/actions/uploadWorkflowArtifactsAndLogs@eed9b4e63657f61d5235bb59aee03b59739efb6c
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@b79b17356be49158fff788019a38a8cf0e60d964
uses: navikt/sf-platform/.github/actions/pushLoggedMetrics@eed9b4e63657f61d5235bb59aee03b59739efb6c
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@b79b17356be49158fff788019a38a8cf0e60d964
uses: navikt/sf-platform/.github/actions/pushLoggedMetrics@eed9b4e63657f61d5235bb59aee03b59739efb6c
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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
with:
fetch-depth: 0
persist-credentials: false

- uses: navikt/sf-platform/.github/actions/checkForPackageChanges@b79b17356be49158fff788019a38a8cf0e60d964
- uses: navikt/sf-platform/.github/actions/checkForPackageChanges@eed9b4e63657f61d5235bb59aee03b59739efb6c
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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
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@b79b17356be49158fff788019a38a8cf0e60d964
uses: navikt/sf-platform/.github/actions/pushLoggedMetrics@eed9b4e63657f61d5235bb59aee03b59739efb6c
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@b79b17356be49158fff788019a38a8cf0e60d964
uses: navikt/sf-platform/.github/actions/setPrToDraft@eed9b4e63657f61d5235bb59aee03b59739efb6c
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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
with:
persist-credentials: false

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

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