Skip to content

Commit

Permalink
Reenable branch check.
Browse files Browse the repository at this point in the history
  • Loading branch information
netomi committed Dec 9, 2023
1 parent 9da822b commit 41a9248
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
outputs:
release-version: ${{ steps.prepare-release.outputs.RELEASE_VERSION }}
steps:
# - name: Check ref
# shell: bash
# run: |
# if [ "${{ github.ref }}" != "refs/heads/main" ]; then
# echo "Release shall only be made from 'main' branch, triggered branch '${{ github.ref_name }}', aborting."
# exit 1
# fi
- name: Check ref
shell: bash
run: |
if [ "${{ github.ref }}" != "refs/heads/main" ]; then
echo "Release shall only be made from 'main' branch, triggered branch '${{ github.ref_name }}', aborting."
exit 1
fi
- name: Setup Git User
run: |
Expand Down

0 comments on commit 41a9248

Please sign in to comment.