Skip to content

Commit

Permalink
Fixing the conditions for the reviewers
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin Castel committed Dec 3, 2019
1 parent 8533f85 commit a86e71a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion backport.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit a86e71a

Please sign in to comment.