Update browsers list #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update browsers list | |
on: | |
workflow_dispatch: # To allow manual runs | |
schedule: | |
- cron: '0 0 1 * *' # Monthly | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Update browerslist | |
run: | | |
git config user.name 'Compiler Explorer Bot' | |
git config user.email '[email protected]' | |
make prereqs | |
npm run update-browserslist | |
git commit -am "Automated checkin - update browsers list" | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
title: '[bot] Update browsers list' | |
body: | | |
Automatic run of `npm run-update-browerslist` which needs to | |
be done periodically to keep in-date. | |
See [here](https://github.com/browserslist/browserslist#browsers-data-updating) for more details. |