mirror of
https://github.com/Telecominfraproject/wlan-toolsmith.git
synced 2025-11-01 19:37:57 +00:00
Merge pull request #201 from Telecominfraproject/feature/wifi-7820--enable-jira-checkl
[WIFI-7820] Add: enforce-jira-issue-key workflow
This commit is contained in:
24
.github/workflows/enforce-jira-issue-key.yml
vendored
Normal file
24
.github/workflows/enforce-jira-issue-key.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
name: Ensure Jira issue is linked
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, edited, reopened, synchronize]
|
||||||
|
branches:
|
||||||
|
- 'release/*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check_for_issue_key:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout actions repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: Telecominfraproject/.github
|
||||||
|
path: github
|
||||||
|
|
||||||
|
- name: Run JIRA check
|
||||||
|
uses: ./github/composite-actions/enforce-jira-issue-key
|
||||||
|
with:
|
||||||
|
jira_base_url: ${{ secrets.TIP_JIRA_URL }}
|
||||||
|
jira_user_email: ${{ secrets.TIP_JIRA_USER_EMAIL }}
|
||||||
|
jira_api_token: ${{ secrets.TIP_JIRA_API_TOKEN }}
|
||||||
Reference in New Issue
Block a user