Files
FOSSBilling/.github/workflows/ckeditor.yml
T
Adam Daley 778e40f461 Update Github workflows (#1203)
* Update labeler workflow

Update labeler workflow to remove old labels and paths, fix path patterns, and include more labels.

* Update release drafter workflow config

Update the release drafter workflow config to remove autolabeler options as unnecessary and currently broken.

* Update Dependabot workflow config

Update Dependabot workflow config with new Composer manifests location.

* Update spellcheck workflow

Update spellcheck workflow to change filename, also run on push, and to only check changed files.

* Merge PHP build and tests into one PHP CI workflow

* Update CKEditor workflow

Update CKEditor workflow to change file name and to only run on repos owned by the FOSSBilling organisation.

* Fix Preview double zip issue
2023-05-02 05:40:34 +01:00

38 lines
1.2 KiB
YAML

name: Check for CKEditor updates
on:
schedule:
- cron: '0 12 * * *' # Runs once per day
jobs:
update-dependencies:
if: github.repository_owner == 'FOSSBilling'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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@v5
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>