Skip to content

Add check to workflow jobs for repo owner - #1934

Open
mhucka wants to merge 3 commits into
quantumlib:mainfrom
mhucka:add-ci-job-conditions
Open

Add check to workflow jobs for repo owner#1934
mhucka wants to merge 3 commits into
quantumlib:mainfrom
mhucka:add-ci-job-conditions

Conversation

@mhucka

@mhucka mhucka commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Due to how forking is implemented in GitHub, it is relatively easy for users to fork repos with the GitHub Actions workflows enabled. This results in the workflows running in their accounts, sometimes using CPU time unexpectedly. To prevent that, and as a general good practice, this PR adds a test that makes jobs run only if the repository owner is Quantumlib.

mhucka added 2 commits August 11, 2026 02:31
Due to how forking is implemented in GitHub, it is relatively easy for
users to fork repos with the GitHub Actions workflows enabled. This
results in the workflows running in their accounts, sometimes using CPU
time unexpectedly. To prevent that, and as a general good practice, this
PR adds a test that makes jobs run only if the repository owner is
Quantumlib.
@mhucka
mhucka marked this pull request as ready for review August 11, 2026 02:39
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@mhucka
mhucka enabled auto-merge (squash) August 11, 2026 02:39
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