mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
ci: update auto-roller to be more robust (#10308)
This commit is contained in:
9
.github/workflows/update-browser-pins.yml
vendored
9
.github/workflows/update-browser-pins.yml
vendored
@@ -30,11 +30,8 @@ jobs:
|
||||
id: update
|
||||
run: |
|
||||
node --experimental-fetch tools/update_chrome_revision.mjs
|
||||
- name: Format files if needed
|
||||
run: npm run format
|
||||
- name: Update package-lock.json
|
||||
run: npm install --ignore-scripts
|
||||
- name: Create Pull Request
|
||||
if: ${{ steps.update.outputs.commit }}
|
||||
uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 # v5.0.1
|
||||
with:
|
||||
token: ${{ secrets.BROWSER_AUTOMATION_BOT_TOKEN }}
|
||||
@@ -42,7 +39,7 @@ jobs:
|
||||
delete-branch: true
|
||||
committer: Browser Automation Bot <browser-automation-bot@google.com>
|
||||
author: Browser Automation Bot <browser-automation-bot@google.com>
|
||||
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: ${{ steps.update.outputs.commit }}
|
||||
title: ${{ steps.update.outputs.commit }}
|
||||
body: 'Automatically generated by https://github.com/puppeteer/puppeteer/blob/main/.github/workflows/update-browser-pins.yml'
|
||||
labels: dependencies
|
||||
|
||||
Reference in New Issue
Block a user