name: Release Drafter on: push: branches: - main workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true permissions: {} jobs: correct_repository: runs-on: ubuntu-latest name: Verify repository steps: - name: fail on fork if: github.repository_owner != 'kimai' run: exit 1 update_release_draft: name: Draft next release permissions: contents: write # to create a github release draft pull-requests: read # to identify changes that occurred needs: correct_repository runs-on: ubuntu-latest steps: - uses: release-drafter/release-drafter@ed4bc48ec97379be2258e7b7ac2624a3e26ab809 # v7.4.0 env: token: ${{ secrets.GITHUB_TOKEN }}