diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 6a33573b66ce..4a77c2dc0ccc 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -83,7 +83,7 @@ jobs: github.event.pull_request.user.login != 'dependabot[bot]' steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: disable-file-monitoring: true egress-policy: block @@ -101,7 +101,7 @@ jobs: 54.185.253.63:443 - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: Setup Node uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 @@ -110,7 +110,7 @@ jobs: cache: npm - name: Bundle size check - uses: preactjs/compressed-size-action@8119d3d31b6e57b167e09c81dfa877eada3bcb35 + uses: preactjs/compressed-size-action@f780fd104362cfce9e118f9198df2ee37d12946c with: repo-token: ${{ secrets.GITHUB_TOKEN }} pattern: '{assets/js/*.js,assets/css/*.css}' @@ -129,12 +129,12 @@ jobs: github.event.pull_request.user.login != 'dependabot[bot]' steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: Setup Node uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 @@ -160,7 +160,7 @@ jobs: composer-options: '--prefer-dist --no-progress --no-interaction' - name: Setup Bun - uses: oven-sh/setup-bun@d3603274aca5625baad52ec06108517a089cdd00 + uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135 with: bun-version: latest @@ -202,7 +202,7 @@ jobs: - name: Check if a comment was already made id: find-comment - uses: peter-evans/find-comment@d5fe37641ad8451bdd80312415672ba26c86575e + uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e with: issue-number: ${{ github.event.pull_request.number }} comment-author: googleforcreators-bot diff --git a/.github/workflows/cleanup-pr-assets.yml b/.github/workflows/cleanup-pr-assets.yml index 4316341d8f6a..18add82cc437 100644 --- a/.github/workflows/cleanup-pr-assets.yml +++ b/.github/workflows/cleanup-pr-assets.yml @@ -21,7 +21,7 @@ jobs: github.event.pull_request.user.login != 'dependabot[bot]' steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: disable-file-monitoring: true disable-sudo: true diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index cd38ee6ad842..29d32cfd55f0 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -41,7 +41,7 @@ jobs: timeout-minutes: 30 steps: - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: Initialize CodeQL uses: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a diff --git a/.github/workflows/deploy-storybook.yml b/.github/workflows/deploy-storybook.yml index 336fc277f684..a474c7e758b6 100644 --- a/.github/workflows/deploy-storybook.yml +++ b/.github/workflows/deploy-storybook.yml @@ -33,7 +33,7 @@ jobs: timeout-minutes: 10 steps: - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: Setup Node uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 @@ -50,7 +50,7 @@ jobs: run: npm run storybook:build - name: Checkout gh-pages - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b with: ref: gh-pages token: ${{ secrets.GOOGLEFORCREATORS_BOT_TOKEN }} diff --git a/.github/workflows/lint-css-js-md.yml b/.github/workflows/lint-css-js-md.yml index 2aebe62b35ca..20548d700e86 100644 --- a/.github/workflows/lint-css-js-md.yml +++ b/.github/workflows/lint-css-js-md.yml @@ -61,7 +61,7 @@ jobs: timeout-minutes: 20 steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: disable-sudo: true disable-file-monitoring: true @@ -74,7 +74,7 @@ jobs: 54.185.253.63:443 - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: Setup Node uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 @@ -88,7 +88,7 @@ jobs: PUPPETEER_SKIP_DOWNLOAD: true - name: Setup Bun - uses: oven-sh/setup-bun@d3603274aca5625baad52ec06108517a089cdd00 + uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135 with: bun-version: latest @@ -125,7 +125,7 @@ jobs: github.event.pull_request.user.login != 'dependabot[bot]' - name: Annotate JS Lint Results - uses: ataylorme/eslint-annotate-action@2.2.0 + uses: ataylorme/eslint-annotate-action@3.0.0 with: repo-token: '${{ secrets.GITHUB_TOKEN }}' report-json: 'build/lint-js-report.json' diff --git a/.github/workflows/lint-i18n.yml b/.github/workflows/lint-i18n.yml index a96e386fde91..5d7ff79b7ce3 100644 --- a/.github/workflows/lint-i18n.yml +++ b/.github/workflows/lint-i18n.yml @@ -42,12 +42,12 @@ jobs: timeout-minutes: 10 steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -84,7 +84,7 @@ jobs: composer-options: '--prefer-dist --no-progress --no-interaction' - name: Setup Bun - uses: oven-sh/setup-bun@d3603274aca5625baad52ec06108517a089cdd00 + uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135 with: bun-version: latest diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml index 39bf925ca1f6..ba714a742356 100644 --- a/.github/workflows/lint-php.yml +++ b/.github/workflows/lint-php.yml @@ -41,7 +41,7 @@ jobs: timeout-minutes: 5 steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: disable-file-monitoring: true egress-policy: block @@ -55,7 +55,7 @@ jobs: dl.cloudsmith.io:443 - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: Setup PHP uses: shivammathur/setup-php@e6f75134d35752277f093989e72e140eaa222f35 diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml index bfb17c3fa5b6..88177dd2fb2c 100644 --- a/.github/workflows/npm-release.yml +++ b/.github/workflows/npm-release.yml @@ -34,7 +34,7 @@ jobs: environment: Production steps: - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: Setup Node uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 @@ -48,7 +48,7 @@ jobs: PUPPETEER_SKIP_DOWNLOAD: true - name: Setup Bun - uses: oven-sh/setup-bun@d3603274aca5625baad52ec06108517a089cdd00 + uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135 with: bun-version: latest @@ -102,12 +102,12 @@ jobs: needs: [dry-run] steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b with: token: ${{ secrets.GOOGLEFORCREATORS_BOT_TOKEN }} @@ -126,7 +126,7 @@ jobs: PUPPETEER_SKIP_DOWNLOAD: true - name: Setup Bun - uses: oven-sh/setup-bun@d3603274aca5625baad52ec06108517a089cdd00 + uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135 with: bun-version: latest diff --git a/.github/workflows/plugin-release.yml b/.github/workflows/plugin-release.yml index 2916fd488835..c043403c046c 100644 --- a/.github/workflows/plugin-release.yml +++ b/.github/workflows/plugin-release.yml @@ -41,12 +41,12 @@ jobs: environment: Production steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: Verify semver compatibility run: | @@ -104,7 +104,7 @@ jobs: needs: [checks] steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs @@ -127,7 +127,7 @@ jobs: # Grab current assets version from `web-stories.php` and pass on to next steps. # - name: Checkout - # uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + # uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # with: # ref: @@ -143,7 +143,7 @@ jobs: # ASSETS_VERSION_REGEX: "https://wp.stories.google/static/([^']+)" - name: Checkout wp.stories.google - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b with: repository: GoogleForCreators/wp.stories.google lfs: true @@ -222,7 +222,7 @@ jobs: echo "" > assets_version/assets_version.txt - name: Upload assets version - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 with: name: assets-version path: public/static/assets_version @@ -245,18 +245,18 @@ jobs: release_name: ${{ steps.release_branch.outputs.release_name }} steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b with: fetch-depth: 0 # 0 indicates all history for all branches and tags. token: ${{ secrets.GOOGLEFORCREATORS_BOT_TOKEN }} - name: Download assets version - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 + uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: name: assets-version continue-on-error: true @@ -293,7 +293,7 @@ jobs: composer-options: '--prefer-dist --no-progress --no-interaction' - name: Setup Bun - uses: oven-sh/setup-bun@d3603274aca5625baad52ec06108517a089cdd00 + uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135 with: bun-version: latest @@ -396,7 +396,7 @@ jobs: mv build/*.zip build/release-assets/ - name: Upload artifacts - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 with: name: release-assets path: build/release-assets @@ -408,15 +408,15 @@ jobs: needs: [build] steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: Download release artifacts - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 + uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: name: release-assets path: build @@ -444,12 +444,12 @@ jobs: if: ${{ ! startsWith(github.ref, 'refs/heads/release/') && ! contains(github.event.inputs.version, 'rc') }} steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b with: ref: main token: ${{ secrets.GOOGLEFORCREATORS_BOT_TOKEN }} @@ -466,7 +466,7 @@ jobs: PUPPETEER_SKIP_DOWNLOAD: true - name: Setup Bun - uses: oven-sh/setup-bun@d3603274aca5625baad52ec06108517a089cdd00 + uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135 with: bun-version: latest @@ -500,12 +500,12 @@ jobs: SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - name: Download release artifacts - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 + uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: name: release-assets path: release-assets diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index 54bf21e633a4..f7c7dc199cf8 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -25,12 +25,12 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - name: 'Checkout code' - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b with: persist-credentials: false @@ -48,7 +48,7 @@ jobs: # Upload the results as artifacts (optional). - name: 'Upload artifact' - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 with: name: SARIF file path: results.sarif diff --git a/.github/workflows/tests-e2e.yml b/.github/workflows/tests-e2e.yml index 91c42507fafb..aecde6ce3ab6 100644 --- a/.github/workflows/tests-e2e.yml +++ b/.github/workflows/tests-e2e.yml @@ -70,12 +70,12 @@ jobs: timeout-minutes: 30 steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: Setup Node uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 @@ -101,7 +101,7 @@ jobs: composer-options: '--prefer-dist --no-progress --no-interaction' - name: Setup Bun - uses: oven-sh/setup-bun@d3603274aca5625baad52ec06108517a089cdd00 + uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135 with: bun-version: latest @@ -116,7 +116,7 @@ jobs: run: bun run workflow:build-plugin - name: Upload bundle - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 with: name: web-stories path: build/web-stories @@ -149,7 +149,7 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: disable-file-monitoring: true egress-policy: audit @@ -165,10 +165,10 @@ jobs: 34.104.35.123:443 - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: Download bundle - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 + uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: name: web-stories @@ -229,7 +229,7 @@ jobs: ARTIFACT_NAME: failures-artifacts-${{ matrix.wp }}-${{ matrix.shard }} - name: Upload artifacts - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 if: always() with: name: ${{ env.ARTIFACT_NAME }} diff --git a/.github/workflows/tests-karma-dashboard.yml b/.github/workflows/tests-karma-dashboard.yml index 4672e2b5ed81..50de6c794e01 100644 --- a/.github/workflows/tests-karma-dashboard.yml +++ b/.github/workflows/tests-karma-dashboard.yml @@ -47,7 +47,7 @@ jobs: timeout-minutes: 30 steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: disable-file-monitoring: true egress-policy: block @@ -65,7 +65,7 @@ jobs: 34.104.35.123:443 - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: Setup Node uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 @@ -97,7 +97,7 @@ jobs: DISABLE_ERROR_BOUNDARIES: true - name: Upload code coverage report - uses: codecov/codecov-action@c16abc29c95fcf9174b58eb7e1abf4c866893bc8 + uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be with: file: build/logs/karma-coverage/dashboard/lcov.info flags: karmatests diff --git a/.github/workflows/tests-karma-editor.yml b/.github/workflows/tests-karma-editor.yml index dac4b75b0872..8a89deaa5bc1 100644 --- a/.github/workflows/tests-karma-editor.yml +++ b/.github/workflows/tests-karma-editor.yml @@ -83,7 +83,7 @@ jobs: ] steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: disable-file-monitoring: true egress-policy: block @@ -103,7 +103,7 @@ jobs: 34.104.35.123:443 - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: Setup Node uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 @@ -138,7 +138,7 @@ jobs: SHARD: ${{ matrix.shard }} - name: Upload code coverage report - uses: codecov/codecov-action@c16abc29c95fcf9174b58eb7e1abf4c866893bc8 + uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be with: file: build/logs/karma-coverage/story-editor/lcov.info flags: karmatests diff --git a/.github/workflows/tests-unit-js.yml b/.github/workflows/tests-unit-js.yml index f59f8cafe517..24e4f6a5ab89 100644 --- a/.github/workflows/tests-unit-js.yml +++ b/.github/workflows/tests-unit-js.yml @@ -51,7 +51,7 @@ jobs: shard: ['1/2', '2/2'] steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: disable-sudo: true disable-file-monitoring: true @@ -67,7 +67,7 @@ jobs: fonts.gstatic.com:443 - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: Setup Node uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 @@ -103,7 +103,7 @@ jobs: AMP_VALIDATOR_FILE: ${{ env.validator_file }} - name: Upload code coverage report - uses: codecov/codecov-action@c16abc29c95fcf9174b58eb7e1abf4c866893bc8 + uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be with: file: build/logs/lcov.info flags: unittests diff --git a/.github/workflows/tests-unit-php.yml b/.github/workflows/tests-unit-php.yml index 7607d0f9bb38..077413945869 100644 --- a/.github/workflows/tests-unit-php.yml +++ b/.github/workflows/tests-unit-php.yml @@ -84,7 +84,7 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: disable-file-monitoring: true egress-policy: audit @@ -104,7 +104,7 @@ jobs: dl.cloudsmith.io:443 - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # PHP-Scoper only works on PHP 7.4+ and we need to prefix our dependencies to accurately test them. # So we temporarily switch PHP versions, do a full install and then remove the package. @@ -182,7 +182,7 @@ jobs: if: ${{ matrix.random }} - name: Upload code coverage report - uses: codecov/codecov-action@c16abc29c95fcf9174b58eb7e1abf4c866893bc8 + uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be with: file: build/logs/*.xml token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/update-browserslist.yml b/.github/workflows/update-browserslist.yml index 641164dc33ba..a4b8c322939c 100644 --- a/.github/workflows/update-browserslist.yml +++ b/.github/workflows/update-browserslist.yml @@ -22,12 +22,12 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b with: token: ${{ secrets.GOOGLEFORCREATORS_BOT_TOKEN }} @@ -41,7 +41,7 @@ jobs: run: npx browserslist@latest --update-db - name: Create Pull Request - uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e + uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e with: token: ${{ secrets.GOOGLEFORCREATORS_BOT_TOKEN }} commit-message: Update browserslist db diff --git a/.github/workflows/update-google-fonts.yml b/.github/workflows/update-google-fonts.yml index ddb5f31c1528..505c174da120 100644 --- a/.github/workflows/update-google-fonts.yml +++ b/.github/workflows/update-google-fonts.yml @@ -22,12 +22,12 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b with: token: ${{ secrets.GOOGLEFORCREATORS_BOT_TOKEN }} @@ -43,7 +43,7 @@ jobs: PUPPETEER_SKIP_DOWNLOAD: true - name: Setup Bun - uses: oven-sh/setup-bun@d3603274aca5625baad52ec06108517a089cdd00 + uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135 with: bun-version: latest @@ -53,7 +53,7 @@ jobs: run: npm run workflow:fonts - name: Create Pull Request - uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e + uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e with: token: ${{ secrets.GOOGLEFORCREATORS_BOT_TOKEN }} commit-message: Update list of Google Fonts diff --git a/.github/workflows/update-product-schema.yml b/.github/workflows/update-product-schema.yml index 451817f0724a..7accb561b1f7 100644 --- a/.github/workflows/update-product-schema.yml +++ b/.github/workflows/update-product-schema.yml @@ -22,12 +22,12 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b with: token: ${{ secrets.GOOGLEFORCREATORS_BOT_TOKEN }} @@ -38,7 +38,7 @@ jobs: mv product.schema.json tests/phpunit/integration/data/schema.json - name: Create Pull Request - uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e + uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e with: token: ${{ secrets.GOOGLEFORCREATORS_BOT_TOKEN }} commit-message: Update Product Schema diff --git a/.github/workflows/update-templates.yml b/.github/workflows/update-templates.yml index d148fad8c53a..97e649bdbda3 100644 --- a/.github/workflows/update-templates.yml +++ b/.github/workflows/update-templates.yml @@ -22,12 +22,12 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - name: Checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b with: token: ${{ secrets.GOOGLEFORCREATORS_BOT_TOKEN }} @@ -46,7 +46,7 @@ jobs: run: npm run workflow:migrate - name: Create Pull Request - uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e + uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e with: token: ${{ secrets.GOOGLEFORCREATORS_BOT_TOKEN }} commit-message: Migrate templates and text sets to latest version