mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 20:27:07 +09:00
* Update ckeditor_update.yml * Run under /src/ * Remove trailing space * Update ckeditor_update.yml
40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
name: Check for CKEditor updates
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 12 * * *' # Runs once per day
|
|
|
|
jobs:
|
|
update-dependencies:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup NodeJS
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: latest
|
|
|
|
- name: Install npm-check-updates
|
|
run: npm install -g npm-check-updates
|
|
|
|
- name: Apply any available updates.
|
|
run: ncu -u
|
|
working-directory: ./src/modules/Wysiwyg
|
|
|
|
- name: Update lock file
|
|
run: npm i --package-lock-only
|
|
|
|
- name: Create a Pull Request
|
|
uses: peter-evans/create-pull-request@v4
|
|
with:
|
|
title: Update CKEditor and Related Dependencies
|
|
commit-message: Update CKEditor and Related Dependencies
|
|
branch: CKEditor-deps
|
|
body: Automated update of all CKEditor related dependencies. CKEditor release notes [here](https://github.com/ckeditor/ckeditor5/releases/latest)
|
|
delete-branch: true
|
|
token: ${{ secrets.BOT_TOKEN }}
|
|
committer: FOSSBilling Bot <fossbilling-bot>
|
|
author: FOSSBilling Bot <fossbilling-bot>
|