Skip to content

Commit

Permalink
WIP - initial version
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Bustamante <[email protected]>
  • Loading branch information
jjbustamante committed Jun 26, 2023
1 parent 21b9a3a commit de7a86d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/privileged-pr-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ jobs:
id: assets
with:
script: |
var current = await github.rest.issues.get({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.number,
})
.then(result => result.milestone)
if (current) {
console.log(`Issue already has a milestone assigned, skipping add milestone step`);
}
var milestone = await github.rest.issues.listMilestones({
owner: context.repo.owner,
repo: context.repo.repo,
Expand Down

0 comments on commit de7a86d

Please sign in to comment.