[Snyk] Security upgrade eslint from 7.12.1 to 9.0.0 #198
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Label PRs based on title | |
on: | |
pull_request: | |
branches: [release] | |
types: [opened, reopened, edited] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: appsmithorg/labeler@master | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Get changed files using defaults | |
id: changed-files | |
uses: trilom/[email protected] | |
continue-on-error: true | |
- name: Run step when a file changes | |
uses: actions-ecosystem/action-create-comment@v1 | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
if: | | |
contains(steps.changed-files.outputs.files_modified, 'cypress') == false && | |
contains(steps.changed-files.outputs.files_modified, 'test') == false | |
with: | |
github_token: ${{ secrets.github_token }} | |
body: | | |
Unable to find test scripts. Please add necessary tests to the PR. |