Skip to content

chore(deps): bump step-security/harden-runner from 2.10.1 to 2.10.2 #118

chore(deps): bump step-security/harden-runner from 2.10.1 to 2.10.2

chore(deps): bump step-security/harden-runner from 2.10.1 to 2.10.2 #118

Workflow file for this run

# 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@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
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