diff --git a/.github/workflows/feature-request.yml b/.github/workflows/feature-request.yml new file mode 100644 index 0000000..b93a009 --- /dev/null +++ b/.github/workflows/feature-request.yml @@ -0,0 +1,42 @@ +name: Feature Request Manager +on: + issues: + types: [milestoned] + schedule: + - cron: 15 5 * * * # 10:15pm PT + workflow_dispatch: + +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: Checkout Actions + if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'feature-request') + uses: actions/checkout@v3 + with: + repository: "microsoft/vscode-github-triage-actions" + path: ./actions + ref: stable + - name: Install Actions + if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'feature-request') + run: npm install --production --prefix ./actions + - name: Run Feature Request Manager + if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'feature-request') + uses: ./actions/feature-request + with: + token: ${{secrets.AZCODE_BOT_PAT}} + candidateMilestoneID: 7 + candidateMilestoneName: "Backlog Candidates" + backlogMilestoneID: 13 + featureRequestLabel: "feature" + upvotesRequired: 5 + numCommentsOverride: 10 + initComment: "This feature request is now a candidate for our backlog. The community has 240 days to upvote the issue. If it receives 5 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/azcodeissuetriaging).\n\nHappy Coding!" + rejectComment: ":slightly_frowning_face: In the last 60 days, this issue has received less than 5 community upvotes and we closed it. Still a big Thank You to you for taking the time to create it! To learn more about how we handle issues, please see our [documentation](https://aka.ms/azcodeissuetriaging).\n\nHappy Coding!" + rejectLabel: "out of scope" + warnComment: "This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our [documentation](https://aka.ms/azcodeissuetriaging).\n\nHappy Coding!" + labelsToExclude: "P0,P1" + acceptComment: ":slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/azcodeissuetriaging).\n\nHappy Coding!" + warnDays: 60 + closeDays: 240 + milestoneDelaySeconds: 60 diff --git a/.github/workflows/locker.yml b/.github/workflows/locker.yml index c4f42d5..0504067 100644 --- a/.github/workflows/locker.yml +++ b/.github/workflows/locker.yml @@ -1,23 +1,24 @@ name: Locker on: schedule: - - cron: 0 2 * * * # 7:00pm PT + - cron: 0 5 * * * # 10:00pm PT workflow_dispatch: jobs: main: runs-on: ubuntu-latest steps: - - name: Checkout triage-actions + - name: Checkout Actions uses: actions/checkout@v2 with: - repository: "microsoft/vscode-azuretools" - path: ./azuretools - ref: v0.2.0-triage-actions - - name: npm install - run: npm install --production --prefix ./azuretools/triage-actions + repository: "microsoft/vscode-github-triage-actions" + path: ./actions + ref: stable + - name: Install Actions + run: npm install --production --prefix ./actions - name: Run Locker - uses: ./azuretools/triage-actions/locker + uses: ./actions/locker with: + token: ${{secrets.AZCODE_BOT_PAT}} daysSinceClose: 45 daysSinceUpdate: 7 diff --git a/.github/workflows/needs-more-info-closer.yml b/.github/workflows/needs-more-info-closer.yml index bfb6527..36c6097 100644 --- a/.github/workflows/needs-more-info-closer.yml +++ b/.github/workflows/needs-more-info-closer.yml @@ -1,23 +1,23 @@ name: Needs More Info Closer on: schedule: - - cron: 30 2 * * * # 7:30pm PT + - cron: 30 5 * * * # 10:30pm PT workflow_dispatch: jobs: main: runs-on: ubuntu-latest steps: - - name: Checkout triage-actions + - name: Checkout Actions uses: actions/checkout@v2 with: - repository: "microsoft/vscode-azuretools" - path: ./azuretools - ref: v0.2.0-triage-actions - - name: npm install - run: npm install --production --prefix ./azuretools/triage-actions + repository: "microsoft/vscode-github-triage-actions" + path: ./actions + ref: stable + - name: Install Actions + run: npm install --production --prefix ./actions - name: Run Needs More Info Closer - uses: ./azuretools/triage-actions/needs-more-info-closer + uses: ./actions/needs-more-info-closer with: token: ${{secrets.AZCODE_BOT_PAT}} label: needs more info diff --git a/.github/workflows/stale-closer.yml b/.github/workflows/stale-closer.yml deleted file mode 100644 index c3a7baa..0000000 --- a/.github/workflows/stale-closer.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Stale Closer -on: - schedule: - - cron: 15 2 * * * # 7:15pm PT - workflow_dispatch: - -jobs: - main: - runs-on: ubuntu-latest - steps: - - name: Checkout triage-actions - uses: actions/checkout@v2 - with: - repository: "microsoft/vscode-azuretools" - path: ./azuretools - ref: v0.2.0-triage-actions - - name: npm install - run: npm install --production --prefix ./azuretools/triage-actions - - name: Run Stale Closer - uses: ./azuretools/triage-actions/stale-closer - with: - token: ${{secrets.AZCODE_BOT_PAT}} - closeDays: 240 - closeComment: ":slightly_frowning_face: In the last 60 days, this issue has received less than 5 community upvotes and we closed it. Still a big Thank You to you for taking the time to create it! To learn more about how we handle issues, please see our [documentation](https://aka.ms/azcodeissuetriaging).\n\nHappy Coding!" - warnDays: 60 - warnComment: "This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our [documentation](https://aka.ms/azcodeissuetriaging).\n\nHappy Coding!" - upvotesRequired: 5 - numCommentsOverride: 10 - candidateMilestone: "Backlog Candidates" - labelsToExclude: "P0,P1" - staleLabel: "out of scope" diff --git a/.github/workflows/version-check.yml b/.github/workflows/version-check.yml new file mode 100644 index 0000000..87c770a --- /dev/null +++ b/.github/workflows/version-check.yml @@ -0,0 +1,10 @@ +name: Check version +on: + pull_request: + +jobs: + check-version: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: kriasoft/check-version@v1 diff --git a/package-lock.json b/package-lock.json index ddbad5a..8dd957f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-azurevirtualmachines", - "version": "0.5.1-alpha.3", + "version": "0.5.1-alpha.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "vscode-azurevirtualmachines", - "version": "0.5.1-alpha.3", + "version": "0.5.1-alpha.4", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { "@azure/arm-compute": "^17.1.0", @@ -2083,9 +2083,9 @@ } }, "node_modules/async": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", - "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", + "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", "dev": true, "dependencies": { "lodash": "^4.17.14" @@ -7437,9 +7437,9 @@ } }, "node_modules/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" }, "node_modules/minipass": { "version": "3.1.6", @@ -13795,9 +13795,9 @@ "dev": true }, "async": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", - "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", + "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", "dev": true, "requires": { "lodash": "^4.17.14" @@ -17964,9 +17964,9 @@ } }, "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" }, "minipass": { "version": "3.1.6", diff --git a/package.json b/package.json index 8d14907..a60913f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-azurevirtualmachines", "displayName": "Azure Virtual Machines", "description": "%extension.description%", - "version": "0.5.1-alpha.3", + "version": "0.5.1-alpha.4", "publisher": "ms-azuretools", "icon": "resources/azure-vm.png", "aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",