From a86e71a7586a94cd2a9a6a5bd97890fb48abd3ab Mon Sep 17 00:00:00 2001 From: Quentin Castel Date: Tue, 3 Dec 2019 16:27:41 +0000 Subject: [PATCH] Fixing the conditions for the reviewers --- .github/workflows/tag.yml | 2 +- backport.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index ffca624..59c09ec 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -9,6 +9,6 @@ jobs: steps: - uses: actions/checkout@master - name: Bump version and push tag - uses: mathieudutour/github-tag-action@v1 + uses: mathieudutour/github-tag-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/backport.sh b/backport.sh index 21d10bd..1c654ab 100755 --- a/backport.sh +++ b/backport.sh @@ -95,7 +95,7 @@ for branch in $(git branch -r | grep ${BACKPORT_BRANCHES_REGEX} | sed 's/origin\ \"base\": \"${branch}\" }") - if [[ -z $reviewers ]]; then + if [[ -n $reviewers ]]; then echo "Add reviewers" pull_request_id=$(echo response | jq .number) curl -X POST \