Skip to content

IEP-824 PR Link (WIP) #658

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/pr-link-jira.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
pull_request:
types: [opened]
branches:
- master

name: Pull Request and Jira issue integration

jobs:
enforce-issue:
name: Pull Request and Jira issue integration
runs-on: ubuntu-latest
steps:
- name: Pull Request and Jira issue integration
uses: supplypike/jira-pr-link-action@master
with:
ignore-author: dependabot[bot]
jira-host: ${{ secrets.JIRA_BASE_URL }}
jira-email: ${{ secrets.JIRA_USER }}
jira-api-token: ${{ secrets.JIRA_PASS }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
project: IEP
#transition: ${{ secrets.JIRA_PR_TRANSITION_NAME }}
# type: ${{ secrets.JIRA_ISSUE_TYPE }} # optional, but required if you want to create issue
# component: ${{ secrets.JIRA_COMPONENT_NAME }} # optional, created issue property
# version: ${{ secrets.JIRA_VERSION_PREFIX }} # optional, created issue property
# board: ${{ secrets.JIRA_BOARD_ID }} # optional, sprint detection for created issue
#isCreateIssue: false # optional, if you want to auto create issue
#isOnlyAppendDesc: false # optional, if you only need update PR description
# appendDescAfterRegex: "Jira Issue Link:" # optional, insert link after regex in PR description