diff --git a/.github/workflows/buildAndPublish.yml b/.github/workflows/buildAndPublish.yml index 7b06f1c..499914a 100644 --- a/.github/workflows/buildAndPublish.yml +++ b/.github/workflows/buildAndPublish.yml @@ -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: @@ -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 @@ -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 diff --git a/.github/workflows/ciStaticCodeValidation.yml b/.github/workflows/ciStaticCodeValidation.yml index 59f17b6..d564c8f 100644 --- a/.github/workflows/ciStaticCodeValidation.yml +++ b/.github/workflows/ciStaticCodeValidation.yml @@ -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" @@ -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 diff --git a/.github/workflows/createRelease.yml b/.github/workflows/createRelease.yml index 43ce920..e177c73 100644 --- a/.github/workflows/createRelease.yml +++ b/.github/workflows/createRelease.yml @@ -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 @@ -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 }} diff --git a/.github/workflows/quickbuildOnPush.yml b/.github/workflows/quickbuildOnPush.yml index 3452060..772308c 100644 --- a/.github/workflows/quickbuildOnPush.yml +++ b/.github/workflows/quickbuildOnPush.yml @@ -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: @@ -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 @@ -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 diff --git a/.github/workflows/releaseToDev.yml b/.github/workflows/releaseToDev.yml index 6200e10..5f239fc 100644 --- a/.github/workflows/releaseToDev.yml +++ b/.github/workflows/releaseToDev.yml @@ -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 }} diff --git a/.github/workflows/releaseToProd.yml b/.github/workflows/releaseToProd.yml index 45119d1..479bbc8 100644 --- a/.github/workflows/releaseToProd.yml +++ b/.github/workflows/releaseToProd.yml @@ -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 }} diff --git a/.github/workflows/validatePackageChangesOnPr.yml b/.github/workflows/validatePackageChangesOnPr.yml index 0daa028..1e2ad9a 100644 --- a/.github/workflows/validatePackageChangesOnPr.yml +++ b/.github/workflows/validatePackageChangesOnPr.yml @@ -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: @@ -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 @@ -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 }} @@ -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 }} diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 2e085dd..947b6ab 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -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