mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 12:54:00 -05:00
A stab at automating PRs for browserlist. See #2159
This commit is contained in:
20
.github/workflows/browserslist.yml
vendored
Normal file
20
.github/workflows/browserslist.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user