Skip to content

Commit 943d7d2

Browse files
committed
[DEVOPS-1066] use newer pr_jira_actions workflow
1 parent 3430f93 commit 943d7d2

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
name: Add JIRA issue summary
1+
name: JIRA actions
22

33
on:
4-
pull_request_target: # zizmor: ignore[dangerous-triggers]
5-
types: [opened]
6-
7-
permissions: {}
4+
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
86

97
jobs:
10-
call-workflow-add-jira-issue-summary:
11-
if: startsWith(github.repository, 'MiraGeoscience/') # run if PR targets the Mira repo only
12-
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-jira-pr_add_jira_summary.yml@v2
8+
call-workflow-pr_jira_actions:
9+
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-jira-pr_actions.yml@v3
1310
permissions:
1411
contents: read
1512
pull-requests: write
1613
secrets:
17-
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
18-
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
1914
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
15+
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
16+
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}

0 commit comments

Comments
 (0)