mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Remove support for triggering try from comments (#30712)
Triggering from labels means that we have less actions running and less false job failures spamming project members. Plus, we have more flexibility with labels rather than the backward compatibility we have set up for bors comments.
This commit is contained in:
parent
c529bfa49e
commit
fe7bdb7e4b
6 changed files with 46 additions and 66 deletions
10
.github/workflows/mac.yml
vendored
10
.github/workflows/mac.yml
vendored
|
@ -58,15 +58,15 @@ jobs:
|
|||
runs-on: macos-13
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
if: github.event_name != 'issue_comment' && github.event_name != 'pull_request_target'
|
||||
if: github.event_name != 'pull_request_target'
|
||||
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.
|
||||
# This is necessary to checkout the pull request if this run was triggered via a
|
||||
# `pull_request_target` event.
|
||||
- uses: actions/checkout@v3
|
||||
if: github.event_name == 'issue_comment' || github.event_name == 'pull_request_target'
|
||||
if: github.event_name == 'pull_request_target'
|
||||
with:
|
||||
ref: refs/pull/${{ github.event.issue.number || github.event.number }}/head
|
||||
ref: refs/pull/${{ github.event.number }}/head
|
||||
fetch-depth: 2
|
||||
- name: Run sccache-cache
|
||||
uses: mozilla-actions/sccache-action@v0.0.3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue