Skip to content

fix: remove event_name check from push-to-gitlab job - #24

Merged
surrealwolf merged 1 commit into
mainfrom
fix/push-to-gitlab-condition
Jan 11, 2026
Merged

surrealwolf merged 1 commit into
mainfrom
fix/push-to-gitlab-condition

Conversation

@surrealwolf

Copy link
Copy Markdown
Collaborator

The push-to-gitlab job was being skipped even on main branch because the condition included github.event_name == 'push', which was too restrictive.

Error:
Push to GitLab job was skipped on main branch

Changes:

  • Removed github.event_name == 'push' condition from if clause
  • Job now runs when test succeeds and branch is main, regardless of event type
  • Allows job to run on workflow_dispatch and other trigger events

The push-to-gitlab job was being skipped even on main branch because the condition included github.event_name == 'push', which was too restrictive.

Error: Push to GitLab job was skipped on main branch

Changes:
- Removed github.event_name == 'push' condition from if clause
- Job now runs when test succeeds and branch is main, regardless of event type
- Allows job to run on workflow_dispatch and other trigger events
@surrealwolf
surrealwolf merged commit 3c6d94b into main Jan 11, 2026
9 checks passed
@surrealwolf
surrealwolf deleted the fix/push-to-gitlab-condition branch January 11, 2026 20:33
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