Skip to content

Conversation

@RonnyPfannschmidt
Copy link
Member

Conditionally enable build provenance attestations only when not running
in a fork PR context. Fork PRs lack the necessary permissions (id-token
and attestations write) to create attestations, causing workflow failures.

Attestations now only run for:

  • Pushes to branches
  • PRs from branches within the same repository

🤖 Generated with Claude Code

Co-Authored-By: Claude [email protected]

Conditionally enable build provenance attestations only when not running
in a fork PR context. Fork PRs lack the necessary permissions (id-token
and attestations write) to create attestations, causing workflow failures.

Attestations now only run for:
- Pushes to branches
- PRs from branches within the same repository

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@RonnyPfannschmidt RonnyPfannschmidt merged commit 27ac49f into pytest-dev:main Oct 18, 2025
15 checks passed
@RonnyPfannschmidt RonnyPfannschmidt deleted the limit-attestation branch October 18, 2025 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant