Skip to content

Commit

Permalink
PMD implementation (#56)
Browse files Browse the repository at this point in the history
* PMD implementation

* PMD implementation
  • Loading branch information
omkaryadv177 authored Sep 11, 2023
1 parent 59caa95 commit 08120d8
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
---
name: build

on: push
on:
push:
pull_request:

jobs:
pmd_scan:
name: "PMD Scan"
runs-on: ubuntu-latest
if: >
github.event_name == 'pull_request' &&
!contains(github.event.head_commit.message, '[skip pmd]') &&
!contains(github.event.head_commit.message, '[force]')
steps:
- uses: Alfresco/[email protected]
with:
fail-on-new-issues: "false"
create-github-annotations: "false"
build:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 08120d8

Please sign in to comment.