|
23 | 23 | - uses: DeterminateSystems/nix-installer-action@main
|
24 | 24 | - name: Checkout Repo
|
25 | 25 | uses: actions/checkout@v3
|
| 26 | + with: |
| 27 | + repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} |
| 28 | + ref: ${{ github.event.pull_request.head.sha || github.sha }} |
| 29 | + fetch-depth: 0 |
| 30 | + fetch-tags: true |
| 31 | + token: ${{ secrets.GITHUB_TOKEN }} |
26 | 32 | - name: Generate build matrix
|
27 | 33 | id: set-matrix
|
28 | 34 | run: |
|
|
54 | 60 | build_args: ${{ steps.args.outputs.result }}
|
55 | 61 | steps:
|
56 | 62 | - uses: actions/checkout@v3
|
| 63 | + with: |
| 64 | + repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} |
| 65 | + ref: ${{ github.event.pull_request.head.sha || github.sha }} |
| 66 | + fetch-depth: 0 |
| 67 | + fetch-tags: true |
| 68 | + token: ${{ secrets.GITHUB_TOKEN }} |
57 | 69 | - uses: DeterminateSystems/nix-installer-action@main
|
58 | 70 | - name: Set PostgreSQL version environment variable
|
59 | 71 | run: echo "POSTGRES_MAJOR_VERSION=${{ matrix.version }}" >> $GITHUB_ENV
|
|
78 | 90 | timeout-minutes: 180
|
79 | 91 | steps:
|
80 | 92 | - uses: actions/checkout@v3
|
| 93 | + with: |
| 94 | + repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} |
| 95 | + ref: ${{ github.event.pull_request.head.sha || github.sha }} |
| 96 | + fetch-depth: 0 |
| 97 | + fetch-tags: true |
| 98 | + token: ${{ secrets.GITHUB_TOKEN }} |
81 | 99 | - uses: DeterminateSystems/nix-installer-action@main
|
82 | 100 | - run: docker context create builders
|
83 | 101 | - uses: docker/setup-buildx-action@v3
|
@@ -133,6 +151,12 @@ jobs:
|
133 | 151 | runs-on: ubuntu-latest
|
134 | 152 | steps:
|
135 | 153 | - uses: actions/checkout@v3
|
| 154 | + with: |
| 155 | + repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} |
| 156 | + ref: ${{ github.event.pull_request.head.sha || github.sha }} |
| 157 | + fetch-depth: 0 |
| 158 | + fetch-tags: true |
| 159 | + token: ${{ secrets.GITHUB_TOKEN }} |
136 | 160 | - uses: DeterminateSystems/nix-installer-action@main
|
137 | 161 | - uses: docker/setup-buildx-action@v3
|
138 | 162 | - uses: docker/login-action@v2
|
@@ -176,6 +200,12 @@ jobs:
|
176 | 200 | runs-on: ubuntu-latest
|
177 | 201 | steps:
|
178 | 202 | - uses: actions/checkout@v3
|
| 203 | + with: |
| 204 | + repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} |
| 205 | + ref: ${{ github.event.pull_request.head.sha || github.sha }} |
| 206 | + fetch-depth: 0 |
| 207 | + fetch-tags: true |
| 208 | + token: ${{ secrets.GITHUB_TOKEN }} |
179 | 209 | - uses: DeterminateSystems/nix-installer-action@main
|
180 | 210 |
|
181 | 211 | - name: Debug Input from Prepare
|
|
0 commit comments