mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Checkout the PR when triggering try from PR comments (#30069)
Fixes #30067.
This commit is contained in:
parent
926cce5b86
commit
51fa6c7e18
4 changed files with 43 additions and 3 deletions
8
.github/workflows/linux-wpt.yml
vendored
8
.github/workflows/linux-wpt.yml
vendored
|
@ -25,8 +25,16 @@ jobs:
|
||||||
chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
|
chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
if: github.event_name != 'issue_comment'
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
# This is necessary to checkout the pull request if this run was triggered
|
||||||
|
# via an `issue_comment` action on a pull request.
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
if: github.event_name == 'issue_comment'
|
||||||
|
with:
|
||||||
|
ref: refs/pull/${{ github.event.issue.number }}/head
|
||||||
|
fetch-depth: 2
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: release-binary
|
name: release-binary
|
||||||
|
|
8
.github/workflows/linux.yml
vendored
8
.github/workflows/linux.yml
vendored
|
@ -55,8 +55,16 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
if: github.event_name != 'issue_comment'
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
# This is necessary to checkout the pull request if this run was triggered
|
||||||
|
# via an `issue_comment` action on a pull request.
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
if: github.event_name == 'issue_comment'
|
||||||
|
with:
|
||||||
|
ref: refs/pull/${{ github.event.issue.number }}/head
|
||||||
|
fetch-depth: 2
|
||||||
- name: Run sccache-cache
|
- name: Run sccache-cache
|
||||||
uses: mozilla-actions/sccache-action@v0.0.3
|
uses: mozilla-actions/sccache-action@v0.0.3
|
||||||
- name: Select Python 3.9
|
- name: Select Python 3.9
|
||||||
|
|
22
.github/workflows/mac.yml
vendored
22
.github/workflows/mac.yml
vendored
|
@ -41,8 +41,16 @@ jobs:
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
if: github.event_name != 'issue_comment'
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
# This is necessary to checkout the pull request if this run was triggered
|
||||||
|
# via an `issue_comment` action on a pull request.
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
if: github.event_name == 'issue_comment'
|
||||||
|
with:
|
||||||
|
ref: refs/pull/${{ github.event.issue.number }}/head
|
||||||
|
fetch-depth: 2
|
||||||
- name: Run sccache-cache
|
- name: Run sccache-cache
|
||||||
uses: mozilla-actions/sccache-action@v0.0.3
|
uses: mozilla-actions/sccache-action@v0.0.3
|
||||||
- name: Bootstrap
|
- name: Bootstrap
|
||||||
|
@ -106,9 +114,17 @@ jobs:
|
||||||
# matrix:
|
# matrix:
|
||||||
# chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
|
# chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
|
||||||
# steps:
|
# steps:
|
||||||
# - uses: actions/checkout@v3
|
# - uses: actions/checkout@v3
|
||||||
# with:
|
# if: github.event_name != 'issue_comment'
|
||||||
# fetch-depth: 2
|
# with:
|
||||||
|
# fetch-depth: 2
|
||||||
|
# # This is necessary to checkout the pull request if this run was triggered
|
||||||
|
# # via an `issue_comment` action on a pull request.
|
||||||
|
# - uses: actions/checkout@v3
|
||||||
|
# if: github.event_name == 'issue_comment'
|
||||||
|
# with:
|
||||||
|
# ref: refs/pull/${{ github.event.issue.number }}/head
|
||||||
|
# fetch-depth: 2
|
||||||
# - uses: actions/download-artifact@v3
|
# - uses: actions/download-artifact@v3
|
||||||
# with:
|
# with:
|
||||||
# name: release-binary-macos
|
# name: release-binary-macos
|
||||||
|
|
8
.github/workflows/windows.yml
vendored
8
.github/workflows/windows.yml
vendored
|
@ -39,8 +39,16 @@ jobs:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
if: github.event_name != 'issue_comment'
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
# This is necessary to checkout the pull request if this run was triggered
|
||||||
|
# via an `issue_comment` action on a pull request.
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
if: github.event_name == 'issue_comment'
|
||||||
|
with:
|
||||||
|
ref: refs/pull/${{ github.event.issue.number }}/head
|
||||||
|
fetch-depth: 2
|
||||||
- name: wix311-binaries
|
- name: wix311-binaries
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue