mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
26 lines
708 B
YAML
26 lines
708 B
YAML
name: Update Browserslist
|
|
on:
|
|
schedule:
|
|
- cron: '0 7 * * 1'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update-browser-list:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: pnpm/action-setup@v2
|
|
- run: npx update-browserslist-db@latest
|
|
- name: Commit changes
|
|
uses: EndBug/add-and-commit@v9
|
|
with:
|
|
author_name: ${{ github.actor }}
|
|
author_email: ${{ github.actor }}@users.noreply.github.com
|
|
message: 'chore: update browsers list'
|
|
push: false
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v6
|
|
with:
|
|
branch: update-browserslist
|
|
title: Update Browserslist
|