forked from compiler-explorer/compiler-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (25 loc) · 908 Bytes
/
browserslist.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Update browsers list
on:
workflow_dispatch: # To allow manual runs
schedule:
- cron: '0 0 1 * *' # Monthly
jobs:
update:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- 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@v3
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.