diff --git a/.github/workflows/cleanup.yaml b/.github/workflows/cleanup.yaml index 94e954ff..6ca76831 100644 --- a/.github/workflows/cleanup.yaml +++ b/.github/workflows/cleanup.yaml @@ -29,9 +29,9 @@ jobs: timeout-minutes: 30 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: "22.x" cache: "npm" @@ -40,7 +40,7 @@ jobs: run: npm ci --no-audit - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4 with: # The role is set up via https://github.com/hello-nrfcloud/ci # secrets.AWS_ACCOUNT_ID_CI is an organization secret @@ -70,15 +70,15 @@ jobs: timeout-minutes: 5 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: "22.x" cache: "npm" - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4 with: # The role is set up via https://github.com/hello-nrfcloud/ci # secrets.AWS_ACCOUNT_ID_CI is an organization secret diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 221aa781..d703d453 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -61,7 +61,7 @@ jobs: docker pull ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.image }}:${{ matrix.tag }} - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4 with: role-to-assume: ${{ secrets.AWS_ROLE }} aws-region: ${{ vars.AWS_REGION }} @@ -117,7 +117,7 @@ jobs: ${{ github.event.inputs.openssl_lambda_tag }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: ref: ${{ github.event.inputs.ref }} @@ -128,7 +128,7 @@ jobs: VERSION=`git describe --abbrev=0 --tags --always | tr -d '\n'` echo "VERSION=$VERSION" >> $GITHUB_ENV - - uses: actions/setup-node@v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: "22.x" cache: "npm" @@ -137,7 +137,7 @@ jobs: run: npm ci --no-audit - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4 with: role-to-assume: ${{ secrets.AWS_ROLE }} aws-region: ${{ vars.AWS_REGION }} diff --git a/.github/workflows/test-and-release.yaml b/.github/workflows/test-and-release.yaml index c2db3642..9e6ed461 100644 --- a/.github/workflows/test-and-release.yaml +++ b/.github/workflows/test-and-release.yaml @@ -26,9 +26,9 @@ jobs: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: "22.x" cache: "npm" @@ -62,9 +62,9 @@ jobs: requestsTableName: ${{ steps.create.outputs.requestsTableName }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: "22.x" cache: "npm" @@ -73,7 +73,7 @@ jobs: run: npm ci --no-audit - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4 with: # The role is set up via https://github.com/hello-nrfcloud/ci # secrets.AWS_ACCOUNT_ID_CI is an organization secret @@ -124,9 +124,9 @@ jobs: tag: ${{ steps.build.outputs.tag }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: "22.x" cache: "npm" @@ -135,7 +135,7 @@ jobs: run: npm ci --no-audit - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4 with: # The role is set up via https://github.com/hello-nrfcloud/ci # secrets.AWS_ACCOUNT_ID_CI is an organization secret @@ -181,13 +181,13 @@ jobs: HTTP_API_MOCK_API_URL: ${{ needs.http-api-mock.outputs.apiURL }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: store checkout out version id: ref run: echo "ref=${{ github.sha }}" >> $GITHUB_OUTPUT - - uses: actions/setup-node@v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: "22.x" cache: "npm" @@ -196,7 +196,7 @@ jobs: run: npm ci --no-audit - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4 with: # The role is set up via https://github.com/hello-nrfcloud/ci # secrets.AWS_ACCOUNT_ID_CI is an organization secret @@ -228,7 +228,7 @@ jobs: --no-warnings ./feature-runner/console-reporter.ts --only-failed --with-timestamps - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 if: failure() with: name: e2e-test-result @@ -261,11 +261,11 @@ jobs: version: ${{ steps.version.outputs.version }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: ref: ${{ needs.e2e-tests.outputs.ref }} - - uses: actions/setup-node@v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: "22.x" cache: "npm" diff --git a/.github/workflows/update-repo-info.yaml b/.github/workflows/update-repo-info.yaml index da74ffdf..d7f90129 100644 --- a/.github/workflows/update-repo-info.yaml +++ b/.github/workflows/update-repo-info.yaml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Sync repository description run: