diff --git a/.github/workflows/buildAndPublish.yml b/.github/workflows/buildAndPublish.yml index ccd65fa..2255628 100644 --- a/.github/workflows/buildAndPublish.yml +++ b/.github/workflows/buildAndPublish.yml @@ -40,7 +40,7 @@ jobs: persist-credentials: false # Check for changes in the src directory excluding .md files - - uses: navikt/sf-platform/.github/actions/checkForPackageChanges@5a37e9b86c238d23ec7bc31cd8d437daaad6e952 + - uses: navikt/sf-platform/.github/actions/checkForPackageChanges@45d5655f12fc14cbd9962c5364757ccc5bc9023e id: checkChanges buildAndPublish: @@ -77,7 +77,7 @@ jobs: # Sets up Salesforce CLI authentication for the DevHub - name: Authenticate DevHub - uses: navikt/sf-platform/.github/actions/authenticateOrg@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/authenticateOrg@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: auth-url: ${{ secrets.SF_DEVHUB_URL }} alias: "devhub" @@ -137,7 +137,7 @@ jobs: # 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@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/uploadWorkflowArtifactsAndLogs@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: artifactName: "build-artifacts" uploadArtifacts: true diff --git a/.github/workflows/ciCreatePlatformPool.yml b/.github/workflows/ciCreatePlatformPool.yml index 5a76f37..76f20ad 100644 --- a/.github/workflows/ciCreatePlatformPool.yml +++ b/.github/workflows/ciCreatePlatformPool.yml @@ -43,12 +43,12 @@ jobs: canReplenishPool: ${{ steps.checkLimits.outputs.canReplenishPool }} steps: - name: Setup SF CLI - uses: navikt/sf-platform/.github/actions/installSfCli@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/installSfCli@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: version: ${{ vars.SF_CLI_VERSION }} - name: "Authenticate Dev Hub" - uses: navikt/sf-platform/.github/actions/authenticateOrg@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/authenticateOrg@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: auth-url: ${{ secrets.SF_DEVHUB_URL }} alias: devhub @@ -140,7 +140,7 @@ jobs: CLEAR_POOLS: ${{ inputs.clearPools }} - name: "Authenticate Dev Hub" - uses: navikt/sf-platform/.github/actions/authenticateOrg@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/authenticateOrg@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: auth-url: ${{ secrets.SF_DEVHUB_URL }} alias: devhub @@ -148,7 +148,7 @@ jobs: - name: "Clear pool" id: clearPool if: ${{ inputs.clearPools }} - uses: navikt/sf-platform/.github/actions/ciDeletePool@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/ciDeletePool@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: devhub: "devhub" poolTag: ${{ env.POOL_TAG }} @@ -162,7 +162,7 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: "Delete orphans" - uses: navikt/sf-platform/.github/actions/ciDeletePool@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/ciDeletePool@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: devhub: "devhub" deleteJobType: orphans diff --git a/.github/workflows/ciStaticCodeValidation.yml b/.github/workflows/ciStaticCodeValidation.yml index 3bac855..3af7027 100644 --- a/.github/workflows/ciStaticCodeValidation.yml +++ b/.github/workflows/ciStaticCodeValidation.yml @@ -31,7 +31,7 @@ jobs: shell: "bash" steps: - name: "Install SF CLI" - uses: navikt/sf-platform/.github/actions/installSfCli@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/installSfCli@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: version: ${{ vars.SF_CLI_VERSION }} @@ -81,13 +81,13 @@ jobs: - name: Prettier Check if: ${{ !cancelled() && steps.paths.outcome == 'success' }} - uses: navikt/sf-platform/.github/actions/prettierCheck@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/prettierCheck@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: pathToValidate: ${{ steps.paths.outputs.prettierPathsToValidate }} - name: Eslint check if: ${{ !cancelled() && steps.paths.outcome == 'success' }} - uses: navikt/sf-platform/.github/actions/eslintCheck@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/eslintCheck@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: pathToValidate: ${{ steps.paths.outputs.eslintPathsToValidate }} diff --git a/.github/workflows/createRelease.yml b/.github/workflows/createRelease.yml index a8ea391..a10efe7 100644 --- a/.github/workflows/createRelease.yml +++ b/.github/workflows/createRelease.yml @@ -57,7 +57,7 @@ jobs: # Sets up Salesforce CLI authentication for the DevHub - name: Authenticate DevHub - uses: navikt/sf-platform/.github/actions/authenticateOrg@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/authenticateOrg@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: auth-url: ${{ secrets.SF_DEVHUB_URL }} alias: "${{ env.DEVHUB_ALIAS }}" diff --git a/.github/workflows/on_push_pr_branch.yml b/.github/workflows/on_push_pr_branch.yml index 313b0b8..63c26b3 100644 --- a/.github/workflows/on_push_pr_branch.yml +++ b/.github/workflows/on_push_pr_branch.yml @@ -41,7 +41,7 @@ jobs: persist-credentials: false # Check for changes in the src directory excluding .md files - - uses: navikt/sf-platform/.github/actions/checkForPackageChanges@5a37e9b86c238d23ec7bc31cd8d437daaad6e952 + - uses: navikt/sf-platform/.github/actions/checkForPackageChanges@45d5655f12fc14cbd9962c5364757ccc5bc9023e id: checkChanges # Validate changes @@ -75,7 +75,7 @@ jobs: # Authenticate with DevHub - name: Authenticate DevHub - uses: navikt/sf-platform/.github/actions/authenticateOrg@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/authenticateOrg@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: auth-url: ${{ secrets.SF_DEVHUB_URL }} alias: "devhub" @@ -148,7 +148,7 @@ jobs: # The logs are uploaded with the name "build-logs" - name: Upload artifacts and logs if: always() - uses: navikt/sf-platform/.github/actions/uploadWorkflowArtifactsAndLogs@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/uploadWorkflowArtifactsAndLogs@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: artifactName: "build-artifacts" uploadArtifacts: true diff --git a/.github/workflows/quickbuildOnPush.yml b/.github/workflows/quickbuildOnPush.yml index 5715835..3a7b40a 100644 --- a/.github/workflows/quickbuildOnPush.yml +++ b/.github/workflows/quickbuildOnPush.yml @@ -27,7 +27,7 @@ jobs: with: fetch-depth: 0 persist-credentials: false - - uses: navikt/sf-platform/.github/actions/checkForPackageChanges@5a37e9b86c238d23ec7bc31cd8d437daaad6e952 + - uses: navikt/sf-platform/.github/actions/checkForPackageChanges@45d5655f12fc14cbd9962c5364757ccc5bc9023e id: checkChanges quickBuild: @@ -47,7 +47,7 @@ jobs: persist-credentials: true - name: Authenticate DevHub - uses: navikt/sf-platform/.github/actions/authenticateOrg@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/authenticateOrg@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: auth-url: ${{ secrets.SF_DEVHUB_URL }} alias: "devhub" @@ -63,7 +63,7 @@ jobs: - name: Upload artifacts and logs if: always() - uses: navikt/sf-platform/.github/actions/uploadWorkflowArtifactsAndLogs@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/uploadWorkflowArtifactsAndLogs@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: artifactName: "build-artifacts" uploadArtifacts: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40bb215..81f40ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: # Sets up Salesforce CLI authentication for the DevHub - name: Authenticate DevHub - uses: navikt/sf-platform/.github/actions/authenticateOrg@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/authenticateOrg@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: auth-url: ${{ secrets.SF_DEVHUB_URL }} alias: "devhub" @@ -46,7 +46,7 @@ jobs: # Sets up Salesforce CLI authentication for the DevHub - name: Authenticate Target Org - uses: navikt/sf-platform/.github/actions/authenticateOrg@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/authenticateOrg@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: auth-url: ${{ secrets.TARGET_ORG_URL }} alias: "targetorg" diff --git a/.github/workflows/validatePackageChangesOnPr.yml b/.github/workflows/validatePackageChangesOnPr.yml index 79f115b..611760e 100644 --- a/.github/workflows/validatePackageChangesOnPr.yml +++ b/.github/workflows/validatePackageChangesOnPr.yml @@ -31,7 +31,7 @@ jobs: fetch-depth: 0 persist-credentials: false - - uses: navikt/sf-platform/.github/actions/checkForPackageChanges@5a37e9b86c238d23ec7bc31cd8d437daaad6e952 + - uses: navikt/sf-platform/.github/actions/checkForPackageChanges@45d5655f12fc14cbd9962c5364757ccc5bc9023e id: checkChanges validateChanges: @@ -50,7 +50,7 @@ jobs: persist-credentials: true - name: Authenticate DevHub - uses: navikt/sf-platform/.github/actions/authenticateOrg@8cb5b2d5a19ce8ccfd5c4ee95cecddc4d5fa984f + uses: navikt/sf-platform/.github/actions/authenticateOrg@45d5655f12fc14cbd9962c5364757ccc5bc9023e with: auth-url: ${{ secrets.SF_DEVHUB_URL }} alias: "devhub"