Skip to content

Ensure workflows only run on arm/arm-toolchain and not on forks#79

Merged
pratlucas merged 1 commit intoarm:arm-softwarefrom
pratlucas:workflows-condition
Feb 10, 2025
Merged

Ensure workflows only run on arm/arm-toolchain and not on forks#79
pratlucas merged 1 commit intoarm:arm-softwarefrom
pratlucas:workflows-condition

Conversation

@pratlucas
Copy link
Contributor

Currently workflows that exist under .github/workflows are executed
not only on arm/arm-toolchain, but on all forks of this repo, including
personal forks used for development and submitting PRs.
To prevent that from happening, this change adds a condition to the
existing workflows, checking if the current repo is arm/arm-toolchain
before running.

Currently workflows that exist under `.github/workflows` are executed
not only on arm/arm-toolchain, but on all forks of this repo, including
personal forks used for development and submitting PRs.
To prevent that from happening, this change adds a condition to the
existing workflows, checking if the current repo is arm/arm-toolchain
before running.
@pratlucas pratlucas merged commit f3ba989 into arm:arm-software Feb 10, 2025
@pratlucas pratlucas deleted the workflows-condition branch February 10, 2025 09:35
pratlucas added a commit to pratlucas/arm-toolchain that referenced this pull request May 15, 2025
Currently workflows that exist under `.github/workflows` are executed
not only on arm/arm-toolchain, but on all forks of this repo, including
personal forks used for development and submitting PRs.
To prevent that from happening, this change adds a condition to the
existing workflows, checking if the current repo is arm/arm-toolchain
before running.
pratlucas added a commit that referenced this pull request May 15, 2025
Currently workflows that exist under `.github/workflows` are executed
not only on arm/arm-toolchain, but on all forks of this repo, including
personal forks used for development and submitting PRs.
To prevent that from happening, this change adds a condition to the
existing workflows, checking if the current repo is arm/arm-toolchain
before running.
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.

2 participants