Skip to content

Commit 1319359

Browse files
committed
Release 0.1.3, generated from commit 0084562
1 parent b650387 commit 1319359

File tree

5 files changed

+24
-8
lines changed

5 files changed

+24
-8
lines changed

.github/workflows/generate.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
steps:
1212
- name: Checkout main
1313
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
1416

1517
- name: Check if tag already exists
1618
run: |

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Generate new OAuth Credentials and copy
6060
with:
6161
event_type: deployment
6262
state: ${{ job.status }}
63-
issue: JCI-3, JCI-6 # Comma separated list of issues being deployed/released
63+
issue: JCI-3, JCI-6 # Comma separated list of issues being deployed/released. You are expected to generate this yourself in a previous step
6464
jira_instance: companyname # Subdomain for Jira Cloud
6565
client_id: ${{ secrets.JIRA_CLIENT_ID }}
6666
client_secret: ${{ secrets.JIRA_CLIENT_SECRET }}
@@ -70,18 +70,28 @@ Generate new OAuth Credentials and copy
7070
7171
##### jira_instance
7272
73+
Sub Domain of Jira Cloud Instance
74+
7375
##### client_id
7476
77+
ClientID of OAuth Creds
78+
7579
##### client_secret
7680
81+
Client Secret of OAuth Creds
82+
7783
##### event_type (optional)
7884
79-
"build" or "deployment", default is "build"
85+
"build" or "deployment", (default is "build")
8086
8187
##### state (optional)
8288
83-
"successful"/"success", "failed", or "canceled" default is "successful"
89+
"successful"/"success", "failed", or "canceled" (default is "successful")
8490
8591
##### issue (optional)
8692
87-
Will be parsed from branch name automatically if absent. Or you can provide it according to your own logic.
93+
Will be parsed from branch name automatically if absent. Or you can provide it according to your own logic. Can be multiple issues.
94+
95+
##### token (optional)
96+
97+
Github Token to get commit message in Pull Request Events. Since github context doesn't have commit message, we use the Github API to get it from sha.

action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
name: 'Jira Github Integration'
1+
name: 'Jira Development Integration'
22
description: 'Send Github Actions Build Information to Jira'
3+
branding:
4+
icon: 'check'
5+
color: 'blue'
36
author: 'Rohit Gohri'
47
inputs:
58
jira_instance:
@@ -20,7 +23,7 @@ inputs:
2023
default: build
2124
state:
2225
required: false
23-
description: '"successful" or "failed"'
26+
description: '"successful"/"success", "failed", or "canceled"'
2427
default: successful
2528
issue:
2629
required: false

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jira-ci-cd-integration",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"private": true,
55
"description": "TypeScript template action",
66
"main": "lib/main.js",
@@ -14,6 +14,7 @@
1414
"prepackage": "npm run build",
1515
"package": "npm run package:action",
1616
"package:action": "ncc build lib/github/main.js --source-map --license licenses.txt",
17+
"increment": "npm --no-git-tag-version version",
1718
"test": "jest"
1819
},
1920
"engines": {

0 commit comments

Comments
 (0)