Update caniuse database #122
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |