Skip to content

Disable GitHub actions jobs in forks #904

@pavoljuhas

Description

@pavoljuhas

What is the task?

I noticed that my fork of the qsim repo executed GitHub actions after updating its main branch. I did not change any GHA-related settings after creating the fork.

The qsim repo should have if-guard to skip execution in downstream forks so
users do not spend their GHA quota on qsim workflows.

Ref: quantumlib/Cirq#7326

(Optional) Do you have ideas or preferences for the approach?

No response

How urgent is this for you?

None

Metadata

Metadata

Assignees

Labels

area/devopsInvolves build systems, Make files, Bazel files, continuous integration, and/or other DevOps topicspriority/p1High priority

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions