File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Link and Lint PR with Jira Ticket Number
2+ on :
3+ merge_group :
4+ pull_request :
5+ types : [opened, edited, synchronize]
6+
7+ permissions :
8+ contents : read
9+ pull-requests : write
10+ jobs :
11+ add-jira-description :
12+ runs-on : ubuntu-latest
13+ # Run only if the PR is not from a Fork / external contributor
14+ if : ${{ github.repository_owner == 'wireapp' }}
15+ steps :
16+ - name : Check for Dependabot
17+ if : github.actor == 'dependabot[bot]' || github.actor == 'AndroidBob'
18+ run : echo "PR created by Dependabot or AndroidBob, exiting successfully" && exit 0
19+
20+ - uses : mohamadjaara/jira-description-action@master
21+ name : jira-description-action
22+ with :
23+ github-token : ${{ secrets.GITHUB_TOKEN }}
24+ jira-token : ${{ secrets.JIRA_TOKEN }}
25+ jira-base-url : https://wearezeta.atlassian.net
26+ skip-branches : ' ^(production-release|main|master|release\/v\d+)$' # optional
27+ fail-when-jira-issue-not-found : true
You can’t perform that action at this time.
0 commit comments