Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
name: Go
on: [push]
# `pull_request` is what lets a fork PR be merged at all: a contributor without
# push access pushes to their own fork, so the push event fires there and the
# Build/Lint/Test runs never attach to the PR here — leaving the required
# contexts permanently unsatisfiable.
#
# `push` is narrowed to develop rather than left bare. A same-repo PR matches
# both events, so an unscoped `push` would run the whole suite twice per PR and
# surface each required context twice. This way it is one run per event: PRs are
# covered by `pull_request`, develop keeps its post-merge run.
on:
push:
branches: [develop]
pull_request:
jobs:
build:
name: Build
Expand Down