mirror of
https://github.com/nextcloud/android.git
synced 2024-11-24 14:15:44 +03:00
f54d234626
workflows/analysis: Use GITHUB_TOKEN instead of GIT_TOKEN, and some cleanup
11 lines
204 B
Bash
Executable file
11 lines
204 B
Bash
Executable file
#!/bin/bash
|
|
|
|
PR_NUMBER=$1
|
|
|
|
source scripts/lib.sh
|
|
|
|
if [ -z "${PR_NUMBER}" ] ; then
|
|
echo "master";
|
|
else
|
|
curl_gh "https://api.github.com/repos/nextcloud/android/pulls/${PR_NUMBER}" | jq .base.ref
|
|
fi
|