Skip to content

ci: avoid duplicate workflow run on pull requests from the local repo#276

Merged
javiertuya merged 1 commit into
mainfrom
chore/avoid-duplicate-workflow-run
Jul 20, 2026
Merged

ci: avoid duplicate workflow run on pull requests from the local repo#276
javiertuya merged 1 commit into
mainfrom
chore/avoid-duplicate-workflow-run

Conversation

@javiertuya

@javiertuya javiertuya commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Adds the conditional that prevents the test workflow from running twice on pull requests created from a branch of this repo.

  • PR from a local branch: only the push event runs, the pull_request one is skipped.
  • PR from a fork or from dependabot: the pull_request event runs.

Only the test jobs are affected.

@javiertuya javiertuya changed the title ci: evita la ejecucion duplicada del workflow en PRs del propio repo ci: avoid duplicate workflow run on pull requests from the local repo Jul 20, 2026
@javiertuya
javiertuya merged commit 3d148cb into main Jul 20, 2026
7 checks passed
@javiertuya
javiertuya deleted the chore/avoid-duplicate-workflow-run branch July 20, 2026 06:35
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.

1 participant