Skip to content

Commit

Permalink
Bug 1573250 [wpt PR 18393] - [ci] Check out master when managing tags…
Browse files Browse the repository at this point in the history
… & labels, a=testonly

Automatic update from web-platform-tests
[ci] Check out master when managing tags & labels (#18393)

* [ci] Check out master when managing tags & labels

Previously, we identified a problem when attempting to run a GitHub
Action for the "pull_request" event when the underlying branch had been
deleted [1]. By migrating to the latest GitHub Action beta release [2],
we've since gained more insight into the process and more control over
its behavior.

Alter the configuration for the new "checkout" Step to consistently
check out the `master` branch. Update the Action specifier to reference
a stable release of the Action.

[1] web-platform-tests/wpt#18286
[2] web-platform-tests/wpt#18359

* fixup! [ci] Check out master when managing tags & labels

--

wpt-commits: 6e9bf9411482aa2d931c005ad66750414b6a5fee
wpt-pr: 18393
  • Loading branch information
jugglinmike authored and moz-wptsync-bot committed Aug 27, 2019
1 parent 8dd8118 commit 1dcf0c9
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -4,7 +4,10 @@ jobs:
update-pr-preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v1.0.0
with:
ref: refs/heads/master
fetch-depth: 1
- name: update-pr-preview
uses: ./tools/docker/github
env:
Expand Down

0 comments on commit 1dcf0c9

Please sign in to comment.