Skip to content

[Snyk] Security upgrade @tinymce/tinymce-react from 3.13.0 to 5.0.0 #8

[Snyk] Security upgrade @tinymce/tinymce-react from 3.13.0 to 5.0.0

[Snyk] Security upgrade @tinymce/tinymce-react from 3.13.0 to 5.0.0 #8

name: Check for test files
on:
pull_request:
branches: [ release ]
types: [ opened, reopened, edited ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get changed files using defaults
id: changed-files
uses: trilom/[email protected]
continue-on-error: true
- name: Ger labels of the PR
id: labels
uses: joerick/[email protected]
continue-on-error: true
- name: Comment if test files not found
uses: actions-ecosystem/action-create-comment@v1
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: |
contains(fromJson('["cypress", "test"]'), toJson(steps.changed-files.outputs.files_modified)) == false &&
contains(fromJson('["Bug", "Enhancement", "Pod"]'), toJson(steps.labels.outputs.labels)) == true
with:
github_token: ${{ secrets.github_token }}
body: |
Unable to find test scripts. Please add necessary tests to the PR.