File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 5
5
on :
6
6
issues :
7
7
types : [opened, reopened, closed]
8
- permissions :
9
- issues : write
10
- contents : read
11
8
jobs :
12
9
jira_task :
13
10
name : Create Jira issue
14
11
if : github.event.action == 'opened'
15
12
runs-on : ubuntu-latest
16
- permissions :
17
- issues : write
13
+ env :
14
+ GITHUB_TOKEN : ${{ secrets.APIX_BOT_PAT }}
18
15
steps :
19
16
- name : Create JIRA ticket
20
17
id : create
74
71
name : Reopen JIRA ticket
75
72
if : github.event.action == 'reopened'
76
73
runs-on : ubuntu-latest
77
- permissions : {}
74
+ env :
75
+ GITHUB_TOKEN : ${{ secrets.APIX_BOT_PAT }}
78
76
steps :
79
77
- name : Reopened JIRA ticket if exists
80
78
run : |
123
121
name : Close JIRA ticket
124
122
if : github.event.action == 'closed'
125
123
runs-on : ubuntu-latest
124
+ env :
125
+ GITHUB_TOKEN : ${{ secrets.APIX_BOT_PAT }}
126
126
steps :
127
127
- name : Close JIRA ticket if exists
128
128
run : |
You can’t perform that action at this time.
0 commit comments