mirror of
https://github.com/jlengrand/engine.git
synced 2026-03-10 08:11:21 +00:00
fix: one last issue with gitlab
This commit is contained in:
2
.github/workflows/functionnal_tests.yml
vendored
2
.github/workflows/functionnal_tests.yml
vendored
@@ -47,7 +47,7 @@ jobs:
|
||||
export GITHUB_BRANCH=$branch
|
||||
export GITHUB_COMMIT_ID=$GITHUB_SHA
|
||||
gh_json=$(curl -s -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/Qovery/engine/pulls?state=open")
|
||||
gh_pr=$(echo $gh_json | jq --compact-output '.[] | {labels, ref: .head.ref}' | awk "/$branch/")
|
||||
gh_pr=$(echo $gh_json | jq --compact-output '.[] | {labels, ref: .head.ref}' | grep "$branch")
|
||||
echo "Pull request info: $(echo $gh_pr)"
|
||||
num_labels=$(echo $gh_pr | jq '.labels | length')
|
||||
tests_type="fast_tests"
|
||||
|
||||
Reference in New Issue
Block a user