File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Icon Update
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ env :
7
+ GITHUB_TOKEN : ${{ secrets.SA_PAT }}
8
+
9
+
10
+ defaults :
11
+ run :
12
+ shell : pwsh
13
+
14
+ jobs :
15
+ close_milestone :
16
+ runs-on : ubuntu-latest
17
+ name : Close Milestone
18
+
19
+ steps :
20
+ # Doing a checkout, until this issue is resolved.
21
+ # https://github.com/valeriobelli/gh-milestone/issues/15
22
+ - uses : actions/checkout@v4
23
+
24
+ - name : Close Milestone
25
+ run : |
26
+ gh extension install valeriobelli/gh-milestone
27
+ Write-Host "Using extension version $(gh milestone --version)"
28
+ $milestones = $(gh milestone list --json number,title) | ConvertFrom-Json
29
+ $milestoneNumber = ($milestones | Where-Object { $_.title -eq "5.1.0" }).number
30
+ gh milestone edit $milestoneNumber --state closed
You can’t perform that action at this time.
0 commit comments