Skip to content

Commit 6bd8765

Browse files
committed
update jira script
1 parent 0e15f1e commit 6bd8765

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

update_jira/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ const core = require('@actions/core')
22
const { Octokit } = require('@octokit/rest')
33
const Jira = require('./../utils/jira')
44

5-
run()
6-
75
const statusMap = {
86
'master': 'Deployed to Production',
97
'main': 'Deployed to Production',
108
'staging': 'Deployed to Staging',
119
'dev': 'Deployed to Staging'
1210
}
1311

12+
run()
13+
1414
async function run() {
1515
try {
1616
const {
@@ -38,8 +38,6 @@ async function run() {
3838
return
3939
}
4040

41-
console.log('GIT REF', GITHUB_REF)
42-
4341
const allowedBranches = [
4442
'refs/heads/master',
4543
'refs/heads/main',

0 commit comments

Comments
 (0)