Skip to content

Prevent deploying if branch != main (#511) #261

Prevent deploying if branch != main (#511)

Prevent deploying if branch != main (#511) #261

---
name: Release Drafter
on:
push:
branches:
- main
- develop
jobs:
update_release_draft:
name: ✏️ Draft release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
steps:
- name: 🚀 Run Release Drafter
uses: release-drafter/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}