File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 8484 test-attestations :
8585 # Test that attestations are created when `attest` is set to true
8686 runs-on : ubuntu-latest
87+ # Attestations cannot be used from a fork https://github.com/actions/attest-build-provenance/issues/99
88+ if : ${{ github.repository == 'bazel-contrib/publish-to-bcr' }}
8789 permissions :
8890 id-token : write
8991 attestations : write
@@ -117,6 +119,8 @@ jobs:
117119 test-multi-module :
118120 # Tests a multi-module publish
119121 runs-on : ubuntu-latest
122+ # Attestations cannot be used from a fork https://github.com/actions/attest-build-provenance/issues/99
123+ if : ${{ github.repository == 'bazel-contrib/publish-to-bcr' }}
120124 permissions :
121125 id-token : write
122126 attestations : write
You can’t perform that action at this time.
0 commit comments