forked from fairpm/fair-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 914 Bytes
/
update-browserslist.yaml
File metadata and controls
32 lines (28 loc) · 914 Bytes
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
27
28
29
30
31
32
name: Update browserslist regex
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1" # Every Monday at midnight
jobs:
update-browserslist-regex:
name: Update browserslist regex
if: github.repository == ${{ github.event.repository.full_name }}
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v4
- name: Update browserslist
run: ./bin/update-browsers.sh
- name: Create pull request
uses: peter-evans/create-pull-request@v7
with:
branch: update-browserslist
commit-message: "Update browser regex from browserslist"
title: "[browserslist] Update browser regex"
body: "Automated update of browser regex from browserslist."
base: main
signoff: true
delete-branch: true