mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-08-05 06:50:10 +00:00
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [actions/setup-node](https://github.com/actions/setup-node) and [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request). Updates `actions/checkout` from 4 to 7 - [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/v4...v7) Updates `actions/setup-node` from 4 to 6 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v4...v6) Updates `peter-evans/create-pull-request` from 6 to 8 - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v8) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/setup-node dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: peter-evans/create-pull-request dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
52 lines
1.5 KiB
YAML
52 lines
1.5 KiB
YAML
name: Sync Bitwarden global domains
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "17 4 * * 1"
|
|
workflow_dispatch:
|
|
inputs:
|
|
bitwarden_ref:
|
|
description: "bitwarden/server ref to sync"
|
|
required: false
|
|
default: "main"
|
|
type: string
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
sync-global-domains:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 22
|
|
|
|
- name: Sync generated Bitwarden domains
|
|
run: npm run domains:sync -- --ref "${{ inputs.bitwarden_ref || 'main' }}"
|
|
|
|
- name: Verify custom domains were not touched
|
|
run: git diff --exit-code -- src/static/global_domains.custom.json
|
|
|
|
- name: Create pull request
|
|
uses: peter-evans/create-pull-request@v8
|
|
with:
|
|
branch: chore/sync-bitwarden-global-domains
|
|
delete-branch: true
|
|
title: "chore: sync Bitwarden global domain rules"
|
|
commit-message: "chore: sync Bitwarden global domain rules"
|
|
body: |
|
|
Automated sync from bitwarden/server.
|
|
|
|
This PR only updates:
|
|
- `src/static/global_domains.bitwarden.json`
|
|
- `src/static/global_domains.bitwarden.meta.json`
|
|
|
|
`src/static/global_domains.custom.json` is intentionally left untouched.
|
|
add-paths: |
|
|
src/static/global_domains.bitwarden.json
|
|
src/static/global_domains.bitwarden.meta.json
|