Skip to content

Commit

Permalink
Merge pull request #8 from thaim/main
Browse files Browse the repository at this point in the history
  • Loading branch information
thaim authored Jan 16, 2022
2 parents dfb45c6 + 50e108b commit 9eaa879
Show file tree
Hide file tree
Showing 3 changed files with 891 additions and 6,466 deletions.
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ async function run() {
const config = {
apiKey: core.getInput('redmine_apikey')
};
if (config.apiKey == '') {
console.log("redmine apikey has not set. ignored");
process.eixtCode = 0;
return
}

const redmine = new Redmine(hostname, config);
const pr = await octokit.rest.pulls.get({
owner: context.repo.owner,
Expand Down
Loading

0 comments on commit 9eaa879

Please sign in to comment.