security changes #1642
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: 'BPMN validation' | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'app/apps/workflow/bpmn_files/**/**/**/*.bpmn' | |
pull_request: | |
branches: [ main, develop ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js for BPMN Linting | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '16.x' | |
- name: Install dependencies for BPMN Linting | |
run: npm install -g bpmnlint | |
- name: Linting BPMN models | |
run: bash bin/validate_bpmn.sh |