Skip to content

Comments

GH-48142: [CI] Disallow scheduled GitHub Actions run on forked repos#48143

Merged
raulcd merged 1 commit intoapache:mainfrom
kevinjqliu:kevinjqliu/fix-scheduled-github-workflow-on-fork
Nov 17, 2025
Merged

GH-48142: [CI] Disallow scheduled GitHub Actions run on forked repos#48143
raulcd merged 1 commit intoapache:mainfrom
kevinjqliu:kevinjqliu/fix-scheduled-github-workflow-on-fork

Conversation

@kevinjqliu
Copy link
Contributor

@kevinjqliu kevinjqliu commented Nov 16, 2025

Rationale for this change

Closes #48142
Prevents Github workflows to periodically run on forked repos

What changes are included in this PR?

Add a gate to the two github workflows to prevent them from periodically running on forked repos.

Are these changes tested?

Yes, manually

Are there any user-facing changes?

No

This PR includes breaking changes to public APIs. (If there are any breaking changes to public APIs, please explain which changes are breaking. If not, you can remove this.)

This PR contains a "Critical Fix". (If the changes fix either (a) a security vulnerability, (b) a bug that caused incorrect or invalid data to be produced, or (c) a bug that causes a crash (even when the API contract is upheld), please provide explanation. If not, you can remove this.)

@github-actions
Copy link

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose

Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename the pull request title in the following format?

GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

@github-actions github-actions bot added the awaiting review Awaiting review label Nov 16, 2025
@kevinjqliu kevinjqliu changed the title infra: dont run periodic schedule workflows on fork GH-48142: Disallow scheduled GitHub Actions run on forked repos Nov 17, 2025
@github-actions
Copy link

⚠️ GitHub issue #48142 has been automatically assigned in GitHub to PR creator.

@raulcd raulcd changed the title GH-48142: Disallow scheduled GitHub Actions run on forked repos GH-48142: [CI] Disallow scheduled GitHub Actions run on forked repos Nov 17, 2025
@raulcd
Copy link
Member

raulcd commented Nov 17, 2025

Thanks @kevinjqliu !

@raulcd raulcd merged commit f096d48 into apache:main Nov 17, 2025
39 of 40 checks passed
@raulcd raulcd removed the awaiting review Awaiting review label Nov 17, 2025
@github-actions github-actions bot added the awaiting merge Awaiting merge label Nov 17, 2025
@kevinjqliu kevinjqliu deleted the kevinjqliu/fix-scheduled-github-workflow-on-fork branch November 17, 2025 16:25
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit f096d48.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 1 possible false positive for unstable benchmarks that are known to sometimes produce them.

mkillik-wayspring pushed a commit to mkillik-wayspring/arrow that referenced this pull request Nov 24, 2025
…repos (apache#48143)

### Rationale for this change
Closes apache#48142
Prevents Github workflows to periodically run on forked repos

### What changes are included in this PR?
Add a gate to the two github workflows to prevent them from periodically running on forked repos. 

### Are these changes tested?
Yes, manually

### Are there any user-facing changes?
No

**This PR includes breaking changes to public APIs.** (If there are any breaking changes to public APIs, please explain which changes are breaking. If not, you can remove this.)

**This PR contains a "Critical Fix".** (If the changes fix either (a) a security vulnerability, (b) a bug that caused incorrect or invalid data to be produced, or (c) a bug that causes a crash (even when the API contract is upheld), please provide explanation. If not, you can remove this.)

* GitHub Issue: apache#48142

Authored-by: Kevin Liu <kevin.jq.liu@gmail.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge Awaiting merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] Disallow scheduled GitHub Actions run on forked repos

2 participants