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 Feb 7, 2024
1 parent cc4647d commit d63f9a0
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 d63f9a0

Please sign in to comment.