We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7c8216 commit 6a7998bCopy full SHA for 6a7998b
.github/workflows/release.yml
@@ -119,12 +119,12 @@ jobs:
119
with:
120
result-encoding: string
121
script: |
122
- const milestones = await github.rest.issues.listMilestones({
+ const openMilestones = await github.rest.issues.listMilestones({
123
owner: context.repo.owner,
124
repo: context.repo.repo,
125
- state: 'all'
+ state: 'open'
126
});
127
- const [milestone] = milestones.data.filter(x => x.title === "${{ inputs.releaseVersion }}")
+ const [milestone] = openMilestones.data.filter(x => x.title === "${{ inputs.releaseVersion }}")
128
if (!milestone) {
129
throw new Error('Milestone "${{ inputs.releaseVersion }}" not found');
130
}
0 commit comments