mirror of
https://github.com/containers/podman.git
synced 2026-02-02 02:12:51 -05:00
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
22 lines
584 B
YAML
22 lines
584 B
YAML
name: "Issue Labeler"
|
|
on:
|
|
issues:
|
|
types: [opened, edited]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
triage:
|
|
permissions:
|
|
contents: read # for github/issue-labeler to get repo contents
|
|
issues: write # for github/issue-labeler to create or remove labels
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: github/issue-labeler@3ae0e4623c1fda729347ae0d8f1c2e52302ef4c6 # v2.0
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
configuration-path: .github/issue-labeler.yml
|
|
not-before: 2022-01-27T00:00:00Z
|
|
enable-versioned-regex: 0
|