Skip to content

Only run publish workflow on kr8s-org/kr8s (#497) #104

Only run publish workflow on kr8s-org/kr8s (#497)

Only run publish workflow on kr8s-org/kr8s (#497) #104

name: Release Drafter
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: read
jobs:
update_release_draft:
if: github.repository == 'kr8s-org/kr8s'
permissions:
# Write permission is required to create a GitHub release
contents: write
pull-requests: read
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
with:
disable-autolabeler: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}