Skip to content

ci: disable pull_request event for PRs from forks#17

Merged
sabre1041 merged 1 commit into
mainfrom
ci/disabel-pull-request-event-forks
Jun 11, 2026
Merged

ci: disable pull_request event for PRs from forks#17
sabre1041 merged 1 commit into
mainfrom
ci/disabel-pull-request-event-forks

Conversation

@burigolucas

Copy link
Copy Markdown
Contributor

Description

Fix bug on CI where pull_request event is triggering the workflow for PRs from forks. The pull_request event should only be used for internal PRs to skip the environment gate, while PRs from forks should only run using pull_request_target to access the repo secrets.

Type of Change

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation changes
  • style: Formatting, missing semi colons, etc; no code change
  • refactor: Refactoring production code
  • test: Adding missing tests, refactoring tests; no production code change
  • chore: Updating configs, etc; no production code change

Pull Request Title

Note: Please ensure your PR title follows Conventional Commits.
Example: feat: add role

  • I have formatted my PR title correctly.

@burigolucas burigolucas requested a review from sabre1041 June 10, 2026 13:33

@sabre1041 sabre1041 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@sabre1041 sabre1041 merged commit 8d9df77 into main Jun 11, 2026
32 checks passed
@sabre1041 sabre1041 deleted the ci/disabel-pull-request-event-forks branch June 11, 2026 07:45
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