Skip to content

Commit a230f5c

Browse files
mtfishmanclaude
authored andcommitted
Switch IntegrationTest to pull_request_target, add fail-fast false (ITensor#1720)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a470751 commit a230f5c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/IntegrationTest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
branches:
55
- "main"
66
tags: "*"
7-
pull_request:
7+
pull_request_target:
88
types:
99
- "opened"
1010
- "synchronize"
@@ -15,6 +15,7 @@ jobs:
1515
integration-test:
1616
name: "IntegrationTest"
1717
strategy:
18+
fail-fast: false
1819
matrix:
1920
pkg:
2021
- "ITensorGaussianMPS"
@@ -28,7 +29,6 @@ jobs:
2829
with:
2930
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
3031
pkg: "${{ matrix.pkg }}"
31-
is-fork-pr: ${{ github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name }}
3232
integration-gate:
3333
name: "IntegrationTest"
3434
needs: "integration-test"

.github/workflows/IntegrationTestRequest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
if: |
99
github.event.issue.pull_request &&
1010
contains(fromJSON('["OWNER", "COLLABORATOR", "MEMBER"]'), github.event.comment.author_association)
11+
1112
uses: "ITensor/ITensorActions/.github/workflows/IntegrationTestRequest.yml@main"
1213
with:
1314
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
14-
secrets: "inherit"

0 commit comments

Comments
 (0)