Skip to content

skip action when running in a fork - #2

Closed
cratelyn wants to merge 3 commits into
bytecodealliance:mainfrom
cratelyn:skip-for-forks
Closed

cratelyn wants to merge 3 commits into
bytecodealliance:mainfrom
cratelyn:skip-for-forks

Conversation

@cratelyn

Copy link
Copy Markdown
Member

this action runs on a regularly scheduled basis, to check for pull requests that do not conform to the project's ai policy.

however, it currently will run from within the context of a contributor's fork, and fail. this leads to a flow of failure notifications in contributors' inboxes.

to help cut down on this noise but continue to offer the benefit to the project, this commit introduces a conditional branch to check that it is running within the context of the primary bytecodealliance github organization.

@cratelyn
cratelyn marked this pull request as draft November 23, 2026 15:54
@cratelyn

Copy link
Copy Markdown
Member Author

there are some issues with the test suite i need to iron out before this is ready for review.

this action runs on a regularly scheduled basis, to check for pull
requests that do not conform to the project's ai policy.

however, it currently will run from within the context of a
contributor's fork, and fail. this leads to a flow of failure
notifications in contributors' inboxes.

to help cut down on this noise but continue to offer the benefit to the
project, this commit introduces a conditional branch to check that it is
running within the context of the primary bytecodealliance github
organization.
this is a bit ugly :( we update the test assertions and mock api to run
within the bytecodealliance org.

this action is structured so that its behavior is not controllable by
user input, so patching this otherwise (e.g. by providing a `repo-org`
input) seemed to cut against the grain of this action's design.
@cratelyn

Copy link
Copy Markdown
Member Author

closing this in favor of bytecodealliance/wasmtime#15441.

@cratelyn cratelyn closed this Nov 23, 2026
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