Skip to content

Commit

Permalink
Add release pipeline action & bump actions.
Browse files Browse the repository at this point in the history
Closes #97536.
  • Loading branch information
Jackson Kearl committed Jun 1, 2020
1 parent acd3be0 commit c4df96b
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/author-verified.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: 'microsoft/vscode-github-triage-actions'
ref: v17
ref: v18
path: ./actions
- name: Install Actions
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
Expand All @@ -31,6 +31,7 @@ jobs:
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
uses: ./actions/author-verified
with:
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
requestVerificationComment: "This bug has been fixed in to the latest release of [VS Code Insiders](https://code.visualstudio.com/insiders/)!\n\n@${author}, you can help us out by commenting `/verified` if things are now working as expected.\n\nIf things still don't seem right, please ensure you're on version ${commit} of Insiders (today's or later - you can use `Help: About` in the command pallette to check), and leave a comment letting us know what isn't working as expected.\n\nHappy Coding!"
pendingReleaseLabel: awaiting-insiders-release
authorVerificationRequestedLabel: author-verification-requested
2 changes: 1 addition & 1 deletion .github/workflows/classifier-apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: 'microsoft/vscode-github-triage-actions'
ref: v17
ref: v18
path: ./actions
- name: Install Actions
run: npm install --production --prefix ./actions
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
repository: 'microsoft/vscode-github-triage-actions'
path: ./actions
ref: v17
ref: v18
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run Commands
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/english-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: 'microsoft/vscode-github-triage-actions'
ref: v17
ref: v18
path: ./actions
- name: Install Actions
if: contains(github.event.issue.labels.*.name, '*english-please')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/feature-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
repository: 'microsoft/vscode-github-triage-actions'
path: ./actions
ref: v17
ref: v18
- name: Install Actions
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'feature-request')
run: npm install --production --prefix ./actions
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/locker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
repository: 'microsoft/vscode-github-triage-actions'
path: ./actions
ref: v17
ref: v18
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run Locker
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/needs-more-info-closer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
repository: 'microsoft/vscode-github-triage-actions'
path: ./actions
ref: v17
ref: v18
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run Needs More Info Closer
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: 'microsoft/vscode-github-triage-actions'
ref: v17
ref: v18
path: ./actions
- name: Install Actions
run: npm install --production --prefix ./actions
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: 'microsoft/vscode-github-triage-actions'
ref: v17
ref: v18
path: ./actions
- name: Install Actions
run: npm install --production --prefix ./actions
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/release-pipeline-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Release Pipeline Labeler"
on:
issues:
types: [closed]
schedule:
- cron: 20 14 * * * # 4:20pm Zurich

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: 'microsoft/vscode-github-triage-actions'
ref: v18
path: ./actions
- name: Checkout Repo
if: github.event_name != 'issues'
uses: actions/checkout@v2
with:
path: ./repo
fetch-depth: 0
- name: Install Actions
run: npm install --production --prefix ./actions
- name: "Run Release Pipeline Labeler"
uses: ./actions/release-pipeline
with:
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
notYetReleasedLabel: unreleased
insidersReleasedLabel: insiders-released
2 changes: 1 addition & 1 deletion .github/workflows/test-plan-item-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
repository: 'microsoft/vscode-github-triage-actions'
path: ./actions
ref: v17
ref: v18
- name: Install Actions
if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
run: npm install --production --prefix ./actions
Expand Down

0 comments on commit c4df96b

Please sign in to comment.