Skip to content

Enforce repo management permission (#4976) #11989

Enforce repo management permission (#4976)

Enforce repo management permission (#4976) #11989

Workflow file for this run

---
# yamllint disable rule:truthy
name: Release Note
on:
workflow_dispatch:
push:
# branches to consider in the event; optional, defaults to all
branches:
- develop
- stable
# pull_request event is required only for autolabeler
pull_request:
types: [opened, reopened, synchronize]
permissions:
contents: read
jobs:
update_infrahub_release_draft:
permissions:
contents: write
pull-requests: read
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v6
with:
config-name: infrahub-release-drafter.yml
disable-autolabeler: true
name: infrahub-draft
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}