Skip to content

Commit 1712484

Browse files
committed
reassing auth token on public repo
1 parent 810c2ec commit 1712484

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

commit-msg-matcher/dist/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31131,6 +31131,11 @@ async function requestIssue(ticket) {
3113131131
authToken = jiraAccessToken;
3113231132
authMethod = 'Basic';
3113331133
}
31134+
31135+
if (ticket.board == 'dbeaver/dbeaver') {
31136+
authToken = core.getInput('curRepoToken');
31137+
}
31138+
3113431139
const response = await fetch(ticket.ticketUri(), {
3113531140
method: 'GET',
3113631141
headers: {

commit-msg-matcher/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ async function requestIssue(ticket) {
3838
authToken = jiraAccessToken;
3939
authMethod = 'Basic';
4040
}
41+
42+
if (ticket.board == 'dbeaver/dbeaver') {
43+
authToken = core.getInput('curRepoToken');
44+
}
45+
4146
const response = await fetch(ticket.ticketUri(), {
4247
method: 'GET',
4348
headers: {

0 commit comments

Comments
 (0)