Weekly Browserslist update #78
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/[email protected] | |
- run: yarn up browserslist --recursive | |
- run: yarn dedupe | |
# https://github.com/peter-evans/create-pull-request | |
- name: Create Pull Request | |
uses: peter-evans/[email protected] | |
with: | |
token: ${{ secrets.PAT }} | |
commit-message: 'Weekly Browserslist update' | |
title: 'Weekly Browserslist update' | |
delete-branch: true | |
branch-suffix: random | |
labels: | | |
dependencies |