Bump codecov/codecov-action from 4 to 5 #732
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |