mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-25 02:08:06 -06:00
Like GitHub since December 2025, `pull_request_target` workflows now run from the default branch whatever the pull request targets, so an outdated workflow on a release branch can't run with secrets. `github.ref`, `github.sha` and local reusable workflows follow it, while branch filters still match the base. Runs now record that ref, so runs from older versions keep the base on rerun. Breaking: pull requests targeting a non-default branch now run the default branch's `pull_request_target` workflows, so workflows that only exist on that branch stop running and `actions/checkout` without `ref` checks out the default branch. Ref: https://github.blog/changelog/2025-11-07-actions-pull_request_target-and-environment-branch-protections-changes/ Assisted-by: Claude Code:claude-opus-5-5