You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I previously had a small drone plugin (code here) to compare what would be the size difference between a new commit and the default branch.
To enable that calculation, the plugin would also fetch the original branch and then compare sizes.
When moving to woodpecker, this no longer works because netrc is not injected in normal steps anymore.
I think it would be nice to be able to also fetch the default branch, or all branches similar to how tags can be fetched.
I can probably write a PR for this, but I'd first like to confirm I didn't miss an easy option to do the same thing already.
The text was updated successfully, but these errors were encountered:
johanvdw
changed the title
Fetch branches ((
Fetch branches (or CI_REPO_DEFAULT_BRANCH)
Dec 24, 2024
I previously had a small drone plugin (code here) to compare what would be the size difference between a new commit and the default branch.
To enable that calculation, the plugin would also fetch the original branch and then compare sizes.
When moving to woodpecker, this no longer works because netrc is not injected in normal steps anymore.
I think it would be nice to be able to also fetch the default branch, or all branches similar to how tags can be fetched.
I can probably write a PR for this, but I'd first like to confirm I didn't miss an easy option to do the same thing already.
The text was updated successfully, but these errors were encountered: