Update Browserslist database #46
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 Browserslist database | |
on: | |
schedule: | |
- cron: '0 2 1,15 * *' | |
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 "action@github.com" | |
git config --global user.name "GitHub Action" | |
- name: Install libndi4_4.5.1-1_amd64.deb | |
run: wget https://github.com/Palakis/obs-ndi/releases/download/4.9.0/libndi4_4.5.1-1_amd64.deb && sudo dpkg -i libndi4_4.5.1-1_amd64.deb | |
- name: Update Browserslist database and create PR if applies | |
uses: c2corg/browserslist-update-action@v2 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: browserslist-update | |
base_branch: next | |
commit_message: 'build: update Browserslist db' | |
title: 'build: update Browserslist db' | |
body: Auto-generated by [browserslist-update-action](https://github.com/c2corg/browserslist-update-action/) | |
labels: 'chores, github action' |