Problem: GITHUB_TOKEN-created PRs suppress pull_request triggers, so CI never runs and auto-merge stalls. Solution: add ci/upstream-digest to the push trigger in test and quality workflows. CI runs on the branch push before the PR exists; check results attach to the commit SHA so the PR sees them as passing. The digest workflow reverts to GITHUB_TOKEN for PR creation — no PAT needed, no contribution inflation.
22 lines
423 B
YAML
22 lines
423 B
YAML
name: test
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
push:
|
|
branches: [main, ci/upstream-digest]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
nvim: [stable, nightly]
|
|
name: Test (Neovim ${{ matrix.nvim }})
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: nvim-neorocks/nvim-busted-action@v1
|
|
with:
|
|
nvim_version: ${{ matrix.nvim }}
|