fix: update CI_COMMIT_BRANCH value to source branch in PRs

This commit is contained in:
pat-s
2024-12-11 20:37:14 +01:00
parent 2e490f3c7b
commit bfbfd5c867
2 changed files with 5 additions and 4 deletions

View File

@@ -17,6 +17,7 @@ This will be the next version of Woodpecker.
- `CI_PIPELINE_FINISHED` as empty during execution
- `CI_PIPELINE_STATUS` was always `success`
- `CI_STEP_STATUS` was always `success`
- `CI_COMMIT_BRANCH` now always returns the source branch, even for pull requests (previously it returned the target branch)
- Set `/woodpecker` as default workdir for the **woodpecker-cli** container
- Secret filters for plugins now check against tag if specified
- Compatibility mode of deprecated `pipeline:`, `platform:` and `branches:` pipeline config options are now removed and pipeline will now fail if still in use.