提交 c4df96bb 编写于 作者: J Jackson Kearl

Add release pipeline action & bump actions.

Closes #97536.
上级 acd3be04
...@@ -16,7 +16,7 @@ jobs: ...@@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
repository: 'microsoft/vscode-github-triage-actions' repository: 'microsoft/vscode-github-triage-actions'
ref: v17 ref: v18
path: ./actions path: ./actions
- name: Install Actions - name: Install Actions
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested') if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
...@@ -31,6 +31,7 @@ jobs: ...@@ -31,6 +31,7 @@ jobs:
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested') if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
uses: ./actions/author-verified uses: ./actions/author-verified
with: 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!" 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 pendingReleaseLabel: awaiting-insiders-release
authorVerificationRequestedLabel: author-verification-requested authorVerificationRequestedLabel: author-verification-requested
...@@ -11,7 +11,7 @@ jobs: ...@@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
repository: 'microsoft/vscode-github-triage-actions' repository: 'microsoft/vscode-github-triage-actions'
ref: v17 ref: v18
path: ./actions path: ./actions
- name: Install Actions - name: Install Actions
run: npm install --production --prefix ./actions run: npm install --production --prefix ./actions
......
...@@ -13,7 +13,7 @@ jobs: ...@@ -13,7 +13,7 @@ jobs:
with: with:
repository: 'microsoft/vscode-github-triage-actions' repository: 'microsoft/vscode-github-triage-actions'
path: ./actions path: ./actions
ref: v17 ref: v18
- name: Install Actions - name: Install Actions
run: npm install --production --prefix ./actions run: npm install --production --prefix ./actions
- name: Run Commands - name: Run Commands
......
...@@ -13,7 +13,7 @@ jobs: ...@@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
repository: 'microsoft/vscode-github-triage-actions' repository: 'microsoft/vscode-github-triage-actions'
ref: v17 ref: v18
path: ./actions path: ./actions
- name: Install Actions - name: Install Actions
if: contains(github.event.issue.labels.*.name, '*english-please') if: contains(github.event.issue.labels.*.name, '*english-please')
......
...@@ -17,7 +17,7 @@ jobs: ...@@ -17,7 +17,7 @@ jobs:
with: with:
repository: 'microsoft/vscode-github-triage-actions' repository: 'microsoft/vscode-github-triage-actions'
path: ./actions path: ./actions
ref: v17 ref: v18
- name: Install Actions - name: Install Actions
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'feature-request') if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'feature-request')
run: npm install --production --prefix ./actions run: npm install --production --prefix ./actions
......
...@@ -13,7 +13,7 @@ jobs: ...@@ -13,7 +13,7 @@ jobs:
with: with:
repository: 'microsoft/vscode-github-triage-actions' repository: 'microsoft/vscode-github-triage-actions'
path: ./actions path: ./actions
ref: v17 ref: v18
- name: Install Actions - name: Install Actions
run: npm install --production --prefix ./actions run: npm install --production --prefix ./actions
- name: Run Locker - name: Run Locker
......
...@@ -13,7 +13,7 @@ jobs: ...@@ -13,7 +13,7 @@ jobs:
with: with:
repository: 'microsoft/vscode-github-triage-actions' repository: 'microsoft/vscode-github-triage-actions'
path: ./actions path: ./actions
ref: v17 ref: v18
- name: Install Actions - name: Install Actions
run: npm install --production --prefix ./actions run: npm install --production --prefix ./actions
- name: Run Needs More Info Closer - name: Run Needs More Info Closer
......
...@@ -11,7 +11,7 @@ jobs: ...@@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
repository: 'microsoft/vscode-github-triage-actions' repository: 'microsoft/vscode-github-triage-actions'
ref: v17 ref: v18
path: ./actions path: ./actions
- name: Install Actions - name: Install Actions
run: npm install --production --prefix ./actions run: npm install --production --prefix ./actions
......
...@@ -11,7 +11,7 @@ jobs: ...@@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
repository: 'microsoft/vscode-github-triage-actions' repository: 'microsoft/vscode-github-triage-actions'
ref: v17 ref: v18
path: ./actions path: ./actions
- name: Install Actions - name: Install Actions
run: npm install --production --prefix ./actions run: npm install --production --prefix ./actions
......
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
...@@ -14,7 +14,7 @@ jobs: ...@@ -14,7 +14,7 @@ jobs:
with: with:
repository: 'microsoft/vscode-github-triage-actions' repository: 'microsoft/vscode-github-triage-actions'
path: ./actions path: ./actions
ref: v17 ref: v18
- name: Install Actions - name: Install Actions
if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item') if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
run: npm install --production --prefix ./actions run: npm install --production --prefix ./actions
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册