-
Notifications
You must be signed in to change notification settings - Fork 204
38 lines (33 loc) · 1.07 KB
/
create-milestone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Create Milestone
on:
schedule:
- cron: "20 0 * * *"
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout github action repository
uses: actions/checkout@v3
with:
repository: "microsoft/vscode-github-triage-actions"
ref: stable
path: ./action-base
- name: Copy action
run: cp -r .github/actions/create-milestone ./action-base/create-milestone
- name: Npm install dependencies
run: npm install azure-devops-node-api --prefix ./action-base
- name: Npm install
run: npm install --production --prefix ./action-base
- name: Build action
continue-on-error: true
run: npm run build --prefix ./action-base
- name: Run Create Milestone
uses: ./action-base/create-milestone
with:
token: ${{secrets.GITHUB_TOKEN}}
devops-token: ${{secrets.ADO_PAT}}
devops-org: "msazure"
devops-projectId: "Microsoft Teams Extensibility"