Skip to content

GH-49729: [CI] Scope workflow permissions and secret inheritance#49773

Merged
thisisnic merged 1 commit into
apache:mainfrom
thisisnic:GH-49729-ci-permissions
Apr 18, 2026
Merged

GH-49729: [CI] Scope workflow permissions and secret inheritance#49773
thisisnic merged 1 commit into
apache:mainfrom
thisisnic:GH-49729-ci-permissions

Conversation

@thisisnic

@thisisnic thisisnic commented Apr 16, 2026

Copy link
Copy Markdown
Member

Rationale for this change

CI jobs allow secrets to be inherited which could present a security risk

What changes are included in this PR?

Scope permissions better

Are these changes tested?

Will be once we merge

Are there any user-facing changes?

No

@github-actions

Copy link
Copy Markdown

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

@github-actions github-actions Bot added CI: Extra: C++ Run extra C++ CI CI: Extra: Package: Linux Run extra Linux Packages CI awaiting committer review Awaiting committer review labels Apr 16, 2026
@thisisnic
thisisnic marked this pull request as ready for review April 17, 2026 19:21
@thisisnic

Copy link
Copy Markdown
Member Author

I think the failing jobs are ones which are failing on main, but perhaps we wait for those to be fixed so I can rebase and properly check they pass here.

@kou kou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

report_ci is only triggered by schedule event. (Nightly jobs.)

So we can't test this with PR.

Could you fill the PR description before we merge this?

@github-actions github-actions Bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Apr 18, 2026
@thisisnic
thisisnic merged commit 1cfbb67 into apache:main Apr 18, 2026
34 of 40 checks passed
@thisisnic thisisnic removed the awaiting merge Awaiting merge label Apr 18, 2026
@conbench-apache-arrow

Copy link
Copy Markdown

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

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.

Mottl pushed a commit to Mottl/arrow that referenced this pull request May 26, 2026
apache#49773)

### Rationale for this change

CI jobs allow secrets to be inherited which could present a security risk

### What changes are included in this PR?

Scope permissions better

### Are these changes tested?

Will be once we merge

### Are there any user-facing changes?

No

* GitHub Issue: apache#49729

Authored-by: Nic Crane <thisisnic@gmail.com>
Signed-off-by: Nic Crane <thisisnic@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI: Extra: C++ Run extra C++ CI CI: Extra: Package: Linux Run extra Linux Packages CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants