Created
September 11, 2022 20:56
-
-
Save ai/14b7c0990a2ea7dc4e5f75da2ab9c0cd to your computer and use it in GitHub Desktop.
This file contains hidden or 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 target browsers | |
on: | |
schedule: | |
- cron: "0 2 1 * *" | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
update-browserslist-database: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Configure git | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "GitHub Action" | |
- name: Check Browserslist database | |
uses: c2corg/browserslist-update-action@v2 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: browserslist-update | |
commit_message: Update Browserslist DB | |
title: Update Browserslist DB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment