A pull request runs the tests only, through its own workflow with the literal kind verify #412
No reviewers
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil!412
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/409-pull-request-verify-build"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A pull request runs the tests only: it has its own workflow with the literal kind
verify, and only pre-release and release builds open the publishing jobs. CI workflows and documentation only.build.ymlchose the kind with an expression onforgejo.event_name. Every pull-request run got a kind other thanverify, so it built the binaries, packages, image and NuGet packages and published a pre-release taggedv...R<pr>+<sha>, with the inherited secrets. The expression has been there since the first commit.kindin a pull-request run could not be read; the likely cause is how the runner evaluates theforgejocontext in thewith:of a reusable-workflow call..forgejo/workflows/pull-request.yml: pull requests intodevelopandmain, literalkind: 'verify', nosecrets: inherit. Its name isBuild, so the status staysBuild / Pipeline (pull_request).build.ymlno longer has thepull_requesttrigger and passes the literalkind: 'prerelease'.pipeline.yml: every gateinputs.kind != 'verify'is nowinputs.kind == 'prerelease' || inputs.kind == 'release'(13 places), so an unexpected kind closes the gates. The test job gives the Docker socket and the unfiltered tests to those two kinds only, and prints the kind it received.prereleaseandrelease.What a green pull-request pipeline covers after this
RequiresDocker, and the admin console lint, format check and tests.Proof: this pull request's own run
v...R<this pr>+<sha>pre-release may appear.Verified
Closes #409
🤖 Generated with Claude Code
https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK