Skip to content

ci: run the pull request checks on pull_request - #135

Merged
guarnz merged 1 commit into
mainfrom
ci/pull-request-event
Dec 3, 2026
Merged

guarnz merged 1 commit into
mainfrom
ci/pull-request-event

Conversation

@guarnz

@guarnz guarnz commented Dec 3, 2026

Copy link
Copy Markdown
Owner

What

The Pull Request workflow (title check and labels) now runs on pull_request instead of pull_request_target. The labels job only runs for pull requests from this repository, where the token can write labels.

Why

GitHub now blocks pull_request_target on public repositories that have no Actions event policy allowing it, so the workflow failed to start and the required title check never reported. Neither job needs secrets: the title check only reads the pull request.

Type

  • Bug fix
  • Feature
  • Refactor
  • Build or CI
  • Docs

Checklist

  • Tests pass (go test ./...)
  • Docs updated (README, docs/, or docs/cli via gendocs)
  • No secrets committed

@github-actions github-actions Bot added ci Workflows, release and packaging maintenance Build, CI, refactoring or tests, with no change for users labels Dec 3, 2026
@sonarqubecloud

sonarqubecloud Bot commented Dec 3, 2026

Copy link
Copy Markdown

@guarnz
guarnz merged commit 56effd4 into main Dec 3, 2026
13 checks passed
@guarnz
guarnz deleted the ci/pull-request-event branch December 3, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Workflows, release and packaging maintenance Build, CI, refactoring or tests, with no change for users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant