Skip to content

Commit

Permalink
fix: fixed branch condition
Browse files Browse the repository at this point in the history
  • Loading branch information
aochmann committed Feb 25, 2021
1 parent 6190373 commit 580ae74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
echo $branch_check
if [[ $branch_check != "release" || $branch_check != "master" ]]; then
if [[ $branch_check =~ ^(release|master)$ ]]; then
echo "Not correct branch. Allowed branches release and master."
exit 1
fi
Expand Down

0 comments on commit 580ae74

Please sign in to comment.