Explorar o código

Adjust "actions/checkout@v2" params to unshallow so that we can properly detect which files changed in the PR

Tianon Gravi %!s(int64=5) %!d(string=hai) anos
pai
achega
3e21779c20
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      .github/workflows/test-pr.yml

+ 4 - 0
.github/workflows/test-pr.yml

@@ -14,6 +14,8 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v2
+        with:
+          fetch-depth: 0
       - name: Check for Common Issues
         run: |
           git clone --depth 1 https://github.com/docker-library/bashbrew.git -b master ~/bashbrew
@@ -29,6 +31,8 @@ jobs:
       strategy: ${{ steps.generate-jobs.outputs.strategy }}
     steps:
       - uses: actions/checkout@v2
+        with:
+          fetch-depth: 0
       - id: generate-jobs
         name: Generate Jobs
         run: |