A stab at automating PRs for browserlist. See #2159

This commit is contained in:
Matt Godbolt
2021-04-01 11:09:21 -05:00
parent bddbe30753
commit 7c4022b1b6

20
.github/workflows/browserslist.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Update browsers list
on:
schedule:
# Monthly
- cron: '0 0 1 * *'
jobs:
label:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Update browerslist
run: |
git config user.name 'Peter Evans'
git config user.email 'peter-evans@users.noreply.github.com'
make prereqs
npm run update-browserslist
git commit -am "Automated checkin - update browsers list"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3