Skip to content

Merge pull request #503 from gdsfactory/fix_unused_arg #888

Merge pull request #503 from gdsfactory/fix_unused_arg

Merge pull request #503 from gdsfactory/fix_unused_arg #888

name: Release Drafter and Labels
on:
push:
branches:
- main
pull_request:
types: [edited, opened, reopened, synchronize, unlabeled, labeled]
permissions:
contents: read
jobs:
update_release_draft:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
require_label:
if: github.event.pull_request
needs: update_release_draft
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: mheap/github-action-required-labels@v5
with:
mode: minimum
count: 1
labels: "breaking, bug, github_actions, documentation, dependencies, enhancement, feature, maintenance, security"
add_comment: true