Skip to content

Commit 996c761

Browse files
committed
[skip changelog] Fix Jira grooming workflow authentication
1 parent 76e6a5e commit 996c761

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Diff for: .github/workflows/jira-issue.yaml

+9-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,19 @@ jobs:
1717
with:
1818
version: 1.0.23
1919

20+
- name: Writes Jira CLI configs
21+
run: |
22+
mkdir ~/.jira.d
23+
cat <<EOM >~/.jira.d/config.yml
24+
endpoint: ${{ secrets.JIRA_BASE_URL }}
25+
user: ${{ secrets.JIRA_USER_EMAIL }}
26+
authentication-method: api-token
27+
EOM
28+
2029
- name: Create issue
2130
run: |
2231
jira create \
2332
--noedit \
24-
-e ${{ secrets.JIRA_BASE_URL }} \
25-
-u ${{ secrets.JIRA_USER_EMAIL }} \
2633
-p ${{ secrets.JIRA_PROJECT_CODE }} \
2734
-i Task \
2835
-o summary="${{ github.event.issues.issue.title }}" \

0 commit comments

Comments
 (0)