Skip to content

fix(deps): update codacy/codacy-analysis-cli-action action to v4.4.5 #121

fix(deps): update codacy/codacy-analysis-cli-action action to v4.4.5

fix(deps): update codacy/codacy-analysis-cli-action action to v4.4.5 #121

name: Labeler
on:
pull_request:
types: [opened, synchronize, edited]
workflow_call:
inputs:
config_path:
description: Path to the configuration file
required: false
type: string
default: .github/labeler.yml
harden_runner:
description: "Harden the runner"
required: false
default: true
type: boolean
permissions: {}
concurrency:
group: labeler-${{ github.repository }}-${{ github.ref }}
cancel-in-progress: true
jobs:
triage:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Harden the runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
if: ${{ inputs.harden_runner != false }}
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
- name: Apply labels
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
with:
configuration-path: ${{ inputs.config_path || '.github/labeler.yml' }}