Commit graph

6 commits

Author SHA1 Message Date
Tim Krüger
193d6a2e25
Get branch name from head instead of base
Not the name of the branch were the changes should pulled into is
needed. The name of the current branch must be determined.

Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-09-29 17:49:59 +02:00
Tim Krüger
cc1e1270e1
Determine base branch with 'jq'
The GitHub API response contains the base branch in which the changes should
pulled into. This is now extracted with 'jq' from the response.

Also some Shellcheck issues were fixed.

Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-09-19 16:53:27 +02:00
Álvaro Brey
6456179641
Make getBranchName.sh executable
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-02 10:19:57 +02:00
Joas Schilling
e321c02b25
Fix branch detection for drone PRs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-09 16:49:57 +02:00
Tim Krüger
c8c3500be9
Replave 'getBranchName.sh' with Git command
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-06-24 14:18:51 +02:00
tobiasKaminsky
22142f1915
Findbugs, lint
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-09-07 14:32:51 +02:00
Renamed from scripts/lint/getBranchName.sh (Browse further)