Weekly Browserslist update #40
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: Weekly Browserslist update | |
on: | |
workflow_dispatch: | |
schedule: | |
# weekly "at 05:00 on Monday" (https://crontab.guru/#0_5_*_*_1) | |
- cron: '0 5 * * 1' | |
jobs: | |
weekly-browserslist: | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/actions/checkout | |
- uses: actions/checkout@v4.1.1 | |
- run: yarn up browserslist --recursive | |
- run: yarn dedupe | |
# https://github.com/peter-evans/create-pull-request | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5.0.2 | |
with: | |
token: ${{ secrets.PAT }} | |
commit-message: 'Weekly Browserslist update' | |
title: 'Weekly Browserslist update' | |
delete-branch: true | |
branch-suffix: random | |
labels: | | |
dependencies |