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 \