Skip to content

Instantly share code, notes, and snippets.

@ejlangev
Created January 29, 2020 21:58
Show Gist options
  • Save ejlangev/bbaa627e80ca80724f6c7de7893d2163 to your computer and use it in GitHub Desktop.
Save ejlangev/bbaa627e80ca80724f6c7de7893d2163 to your computer and use it in GitHub Desktop.
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