Created
January 29, 2020 21:58
-
-
Save ejlangev/bbaa627e80ca80724f6c7de7893d2163 to your computer and use it in GitHub Desktop.
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: Compliance check | |
on: | |
pull_request: | |
types: [opened, edited, reopened, synchronize] | |
issue_comment: | |
types: [created, edited, deleted] | |
jobs: | |
compliance-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 1 | |
if: github.event.pull_request.merged == false | |
- name: check commits for JIRA ticket | |
run: | | |
python3 ci/github/actions/pr-compliance-check.py | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
if: github.event.pull_request.merged == false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment