Skip to content

Update caniuse database #122

Update caniuse database

Update caniuse database #122

name: Update caniuse database
on:
workflow_dispatch:
schedule:
- cron: '0 2 1,15 * *'
jobs:
update-browseslist-database:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure git
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
- name: Update caniuse database and create PR if applies
uses: c2corg/browserslist-update-action@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: browserslist-update
labels: chore