Skip to content

Commit

Permalink
Add some logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
steviemul committed Sep 6, 2024
1 parent cc47b19 commit c8abb18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ const WORKFLOW_DISPATCH = 'workflow_dispatch';
const PUSH_EVENT = 'push';
const DEFAULT_BRANCH_NAME = github.context.payload?.repository?.default_branch;

core.debug(JSON.stringify(github.context, null, 2));

const getRef = () => {

switch (github.context.eventName) {
Expand Down Expand Up @@ -84,7 +86,7 @@ const token = core.getInput("token");
core.debug(`Default branch name : ${DEFAULT_BRANCH_NAME}`);
core.debug(`This branch name : ${thisBranchName()}`);
core.debug(`Default branch resolved setting : ${defaultBranch}`)
core.debug(JSON.stringify(github.context, null, 2));


module.exports = {
apiUrl,
Expand Down

0 comments on commit c8abb18

Please sign in to comment.