chore(deps): bump pypa/gh-action-pypi-publish from 1.8.14 to 1.11.0 #102
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
# This workflow assigns labels to PRs based on conventional commit titles. | |
# It looks at the commits in a pull request, mapping their commit types | |
# (and some scopes) into labels according to the mappings in this workflow file. | |
# | |
# You can adjust the specific behavior by modifying this file. | |
# For more information, see: | |
# https://github.com/dupuy/action-assign-labels?tab=readme-ov-file#computer-how-to-use-action-assign-labels | |
name: 'Assign labels to PRs from conventional commit titles' | |
on: | |
pull_request: | |
branches: ['main'] | |
types: | |
- opened | |
- ready_for_review | |
- reopened | |
- synchronize | |
# Declare default permissions as read only. | |
permissions: | |
contents: read | |
jobs: | |
assign-labels: | |
runs-on: ubuntu-22.04 | |
permissions: | |
pull-requests: write | |
steps: | |
- name: 'Harden runner' | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
disable-sudo: true | |
egress-policy: block | |
allowed-endpoints: > | |
api.github.com:443 | |
- name: 'Assign labels' | |
uses: dupuy/action-assign-labels@b6939985ff45d0ddb5254ead207198af4f93fba5 | |
with: | |
apply-changes: true | |
conventional-commits: | | |
conventional-commits: | |
- type: 'fix' | |
nouns: ['fix'] | |
labels: ['bug'] | |
- type: 'feature' | |
nouns: ['feat'] | |
labels: ['enhancement'] | |
- type: 'breaking_change' | |
nouns: ['BREAKING CHANGE', 'BREAKING', 'feat!', 'fix!'] | |
labels: ['major'] | |
- type: 'build' | |
nouns: ['build', 'build(deps)', 'build(dev-deps)', 'chore'] | |
labels: ['deployment'] | |
- type: 'integration' | |
nouns: ['ci', 'test'] | |
labels: ['testing'] | |
- type: 'documentation' | |
nouns: ['docs'] | |
labels: ['documentation'] | |
- type: 'performance' | |
nouns: ['perf'] | |
labels: ['performance'] | |
- type: 'refactor' | |
nouns: ['refactor'] | |
labels: ['refactor'] | |
- type: 'style' | |
nouns: ['style'] | |
labels: ['style'] | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
maintain-labels-not-matched: true |