Skip to content

Commit d1aa62c

Browse files
author
Kartik Raj
committed
Add action
1 parent a72ebb2 commit d1aa62c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/add-milestone.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "Add milestone to closed issue"
2+
on:
3+
issues:
4+
types: [closed, reopened]
5+
6+
jobs:
7+
main:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout Actions
11+
uses: actions/checkout@v3
12+
with:
13+
repository: "karrtikr/vscode-github-triage-actions"
14+
ref: stable
15+
path: ./actions
16+
- name: Checkout Repo
17+
if: github.event_name != 'issues'
18+
uses: actions/checkout@v3
19+
with:
20+
path: ./repo
21+
fetch-depth: 0
22+
- name: Install Actions
23+
run: npm install --production --prefix ./actions
24+
- name: "Add milestone to closed issue"
25+
uses: ./actions/python-add-milestone
26+
with:
27+
token: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)