Skip to content

Commit

Permalink
chore: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
commiter committed Sep 3, 2024
1 parent 154f1ab commit e900f60
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,4 @@ runs:
branding:
icon: "copy"
color: "purple"

12 changes: 6 additions & 6 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

10 changes: 4 additions & 6 deletions src/copy.bara.sky.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ LOCAL_SOT = "${localSot}"
PUSH_INCLUDE = [${pushInclude}]
PUSH_EXCLUDE = [${pushExclude}]
PUSH_TRANSFORMATIONS = [${pushTransformations}
]
PUSH_TRANSFORMATIONS = [${pushTransformations}]
PR_INCLUDE = [${prInclude}]
PR_INCLUDE = ["${prInclude}"]
PR_EXCLUDE = [${prExclude}]
PR_TRANSFORMATIONS = [${prTransformations}
]
PR_TRANSFORMATIONS = [${prTransformations}]
PR_BRANCH_NAME = "${prBranch}"
PR_TITLE = "${prTitle}"
Expand Down Expand Up @@ -70,7 +68,7 @@ core.workflow(
destination_ref = SOT_BRANCH,
pr_branch = PR_BRANCH_NAME,
title = PR_TITLE,
body = PR_BODY
body = PR_BODY,
integrates = [],
),
destination_files = glob(PUSH_INCLUDE, exclude = PUSH_EXCLUDE),
Expand Down
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ const action = new CopybaraAction({
title: core.getInput("pr_title"),
body: core.getInput("pr_body")
}

});
console.log(action.config.pr.include)
console.log(action.config.push.include)

if (!core.isDebug()) {
// Action fails gracefully on 'throw'
Expand Down

0 comments on commit e900f60

Please sign in to comment.