mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-06-04 18:48:41 +02:00
9b7aa41d20
Pin workflow actions to commit SHAs, set explicit permissions and timeouts, update Ubuntu runners, and include the generated action bundle. Co-Authored-By: Codex <noreply@openai.com>
31 lines
648 B
YAML
31 lines
648 B
YAML
name: Label Commenter
|
|
|
|
on:
|
|
issues:
|
|
types:
|
|
- labeled
|
|
- unlabeled
|
|
# pull_request:
|
|
# types:
|
|
# - labeled
|
|
# - unlabeled
|
|
|
|
permissions:
|
|
contents: read
|
|
issues: write
|
|
|
|
jobs:
|
|
comment:
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
|
with:
|
|
ref: main
|
|
|
|
- name: Label Commenter
|
|
uses: peaceiris/actions-label-commenter@c74c602750041f04c2bb68d200fc2fdae169a044 # v1.10.0
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
# config_file: .github/label-commenter-config.yml
|