Bug 1583490 [wpt PR 19247] - [GitHub Actions] increase the fetch depth to 50 (was 1), a=testonly
authorPhilip Jägenstedt <philip@foolip.org>
Wed, 25 Sep 2019 16:57:07 +0000
changeset 495254 8526c52a6f89d7e8299f0866135e8eb23d4cff09
parent 495253 6cffe0ec10b08ed883347d5474d94f14ea724647
child 495255 1ad1459281e3723a0b64741f7bd83cffd1074ec2
push id36625
push userbtara@mozilla.com
push dateFri, 27 Sep 2019 09:48:17 +0000
treeherdermozilla-central@aa8f530a1a35 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1583490, 19247
milestone71.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1583490 [wpt PR 19247] - [GitHub Actions] increase the fetch depth to 50 (was 1), a=testonly Automatic update from web-platform-tests [GitHub Actions] increase the fetch depth to 50 (was 1) When multiple commits land in short succession, a fetch depth of 1 will lead the checkout step of the first triggered workflow to fail: https://github.com/web-platform-tests/wpt/runs/233269859 Use a fetch depth of 50, matching Azure Pipelines and Taskcluster: https://github.com/web-platform-tests/wpt/blob/master/tools/ci/azure/checkout.yml https://github.com/web-platform-tests/wpt/blob/master/tools/docker/start.sh -- wpt-commits: d089e5ded6fea7ed15ceb3946779712ec02d20f9 wpt-pr: 19247
testing/web-platform/tests/.github/workflows/pull_request.yml
testing/web-platform/tests/.github/workflows/push-build-publish-documentation-website.yml
testing/web-platform/tests/.github/workflows/push-build-release-manifest.yml
--- a/testing/web-platform/tests/.github/workflows/pull_request.yml
+++ b/testing/web-platform/tests/.github/workflows/pull_request.yml
@@ -2,16 +2,16 @@ on: pull_request
 name: Synchronize the Pull Request Preview
 jobs:
   update-pr-preview:
     runs-on: ubuntu-18.04
     steps:
     - uses: actions/checkout@v1
       with:
         ref: refs/heads/master
-        fetch-depth: 1
+        fetch-depth: 50
     - name: update-pr-preview
       uses: ./tools/docker/github
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
       with:
         entrypoint: python
         args: tools/ci/update_pr_preview.py https://api.github.com
--- a/testing/web-platform/tests/.github/workflows/push-build-publish-documentation-website.yml
+++ b/testing/web-platform/tests/.github/workflows/push-build-publish-documentation-website.yml
@@ -4,16 +4,16 @@ on:
       - master
 name: Build & Publish Documentation Website
 jobs:
   website-build-and-publish:
     runs-on: ubuntu-18.04
     steps:
     - uses: actions/checkout@v1
       with:
-        fetch-depth: 1
+        fetch-depth: 50
     - name: website-build-and-publish
       uses: ./tools/docker/documentation
       env:
         DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
       with:
         entrypoint: /bin/bash
         args: tools/ci/website_build.sh
--- a/testing/web-platform/tests/.github/workflows/push-build-release-manifest.yml
+++ b/testing/web-platform/tests/.github/workflows/push-build-release-manifest.yml
@@ -4,16 +4,16 @@ on:
       - master
 name: Build & Release Manifest
 jobs:
   manifest-build-and-tag:
     runs-on: ubuntu-18.04
     steps:
     - uses: actions/checkout@v1
       with:
-        fetch-depth: 1
+        fetch-depth: 50
     - name: manifest-build-and-tag
       uses: ./tools/docker/github
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
       with:
         entrypoint: python
         args: tools/ci/manifest_build.py