Skip to content

Commit

Permalink
feat: job validating pr title (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
uoboda-splunk authored Jan 14, 2022
1 parent d0d9eb5 commit 18745da
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,18 @@ jobs:
path: "${{ needs.setup.outputs.directory-path }}/test-results/*.xml"
reporter: java-junit

validate-pr-title:
name: Validate PR title
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: amannn/[email protected]
with:
wip: true
validateSingleCommit: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pre-publish:
if: always()
needs:
Expand All @@ -1259,6 +1271,7 @@ jobs:
- run-modinput-tests
- run-ui-tests
- run-requirement-tests
- validate-pr-title
runs-on: ubuntu-latest
env:
NEEDS: ${{ toJson(needs) }}
Expand Down

0 comments on commit 18745da

Please sign in to comment.