From 78a5c0ad5c9b1a16814d333bc41fbafd29f369ba Mon Sep 17 00:00:00 2001 From: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com> Date: Fri, 2 Jun 2023 14:19:22 +0200 Subject: [PATCH] chore: fix scorecards analysis (#10306) --- .github/workflows/scorecards-analysis.yml | 2 +- .github/workflows/update-browser-pins.yml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/scorecards-analysis.yml b/.github/workflows/scorecards-analysis.yml index bf0fee07..c5f01396 100644 --- a/.github/workflows/scorecards-analysis.yml +++ b/.github/workflows/scorecards-analysis.yml @@ -49,6 +49,6 @@ jobs: # Upload the results to GitHub’s code scanning dashboard. - name: 'Upload to code-scanning' - uses: github/codeql-action/upload-sarif@1245696032ecf7d39f87d54daa406e22ddf769a8 # v2.13.4 + uses: github/codeql-action/upload-sarif@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # v2.2.4 with: sarif_file: results.sarif diff --git a/.github/workflows/update-browser-pins.yml b/.github/workflows/update-browser-pins.yml index 79f04544..434a247f 100644 --- a/.github/workflows/update-browser-pins.yml +++ b/.github/workflows/update-browser-pins.yml @@ -2,6 +2,8 @@ name: 'Update the pinned browsers' +permissions: read-all + on: schedule: # Run everyday at: https://crontab.guru/#0_6_*_*_*. @@ -40,7 +42,7 @@ jobs: delete-branch: true committer: Browser Automation Bot author: Browser Automation Bot - commit-message: 'feat(chrome): roll to Chrome ${{ steps.update.outputs.version }} (r${{ steps.update.outputs.revision }} )' - title: 'feat(chrome): roll to Chrome ${{ steps.update.outputs.version }} (r${{ steps.update.outputs.revision }} )' + commit-message: 'feat(chrome): roll to Chrome ${{ steps.update.outputs.version }} (r${{ steps.update.outputs.revision }})' + title: 'feat(chrome): roll to Chrome ${{ steps.update.outputs.version }} (r${{ steps.update.outputs.revision }})' body: 'Automatically generated by https://github.com/puppeteer/puppeteer/blob/main/.github/workflows/update-browser-pins.yml' labels: dependencies