Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ jobs:
with:
fetch-depth: 0

- name: Ensure release runs from main
- name: Ensure release runs from main or development
shell: bash
run: |
set -euo pipefail

if [[ "${GITHUB_REF}" != "refs/heads/main" ]]; then
echo "Run this workflow from main." >&2
if [[ "${GITHUB_REF}" != "refs/heads/main" && "${GITHUB_REF}" != "refs/heads/development" ]]; then
echo "Run this workflow from main or development." >&2
exit 1
fi

Expand Down
Loading