Skip to content

ci: run on pull requests from branches of this repository - #76

Merged
rubas-agent[bot] merged 1 commit into
mainfrom
ci-same-repo
Sep 29, 2026
Merged

rubas-agent[bot] merged 1 commit into
mainfrom
ci-same-repo

Conversation

@rubas-agent

@rubas-agent rubas-agent Bot commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

CI runs on every pull request from a branch of this repository, not only on pull requests that rubas opens.

Before: each job in ci.yml has

if: github.event_name == 'push' || github.event.pull_request.user.login == github.repository_owner

Problem

  • Agents open pull requests as rubas-agent[bot], so every CI job skips on them. deps: audit with mix hex.audit and bump mint to 1.11.0 #75 shows three skipped jobs and no test run.
  • The matrix job skips before it expands, so it reports OTP ${{ matrix.otp }} / Elixir ${{ matrix.elixir }} and never the real check names.

After

if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository

A pull request from a fork still skips every job. Only accounts that can push to this repository get CI, which keeps what the old rule protected.

Details

@rubas-agent
rubas-agent Bot merged commit e010242 into main Sep 29, 2026
4 checks passed
@rubas-agent
rubas-agent Bot deleted the ci-same-repo branch September 29, 2026 09:03
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