This is an automated email from the ASF dual-hosted git repository.
kevinjqliu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-go.git
The following commit(s) were added to refs/heads/main by this push:
new d99a0761 infra: remove explicit GITHUB_TOKEN export from labeler
workflow (#730)
d99a0761 is described below
commit d99a0761d919b4cfe94b8c2a17966911bd98191a
Author: Kevin Liu <[email protected]>
AuthorDate: Mon Feb 16 12:23:55 2026 -0500
infra: remove explicit GITHUB_TOKEN export from labeler workflow (#730)
Remove the explicit `repo-token` parameter from the labeler workflow to
comply with the [Apache Infrastructure GitHub Actions
policy](https://infra.apache.org/github-actions-policy.html), which
prohibits exporting confidential tokens in `pull_request_target`
triggered workflows.
The `actions/labeler@v6` action [defaults to using `github.token`
automatically](https://github.com/actions/labeler?tab=readme-ov-file#inputs),
so behavior is unchanged.
Related to https://github.com/apache/iceberg/pull/15335
---
.github/workflows/labeler.yml | 1 -
1 file changed, 1 deletion(-)
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index 4a5b4558..e56be9f4 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -28,5 +28,4 @@ jobs:
steps:
- uses: actions/labeler@v4
with:
- repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true