mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 08:32:25 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
name: Update Browserslist database
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
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@v6
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Configure git
|
|
run: |
|
|
# Setup for commiting using built-in token. See https://github.com/actions/checkout#push-a-commit-using-the-built-in-token
|
|
git config user.name "github-actions[bot]"
|
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
- 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: master
|
|
directory: ./komga-webui
|
|
commit_message: 'build(webui): update Browserslist db'
|
|
title: 'Browserslist database update'
|
|
body: Auto-generated by [browserslist-update-action](https://github.com/c2corg/browserslist-update-action/)
|
|
labels: 'github_actions'
|