mirror of
https://github.com/containers/podman.git
synced 2026-02-05 15:45:08 +01:00
Also remove some unnecessary permissions: * The notification job in release-artifacts.yml only needs to read repo contents, not write contents and actions. * All jobs in release.yml except "Create release" and "Update podman.io" only need to read repo contents. "Update podman.io" only needs to write repo contents and pull requests. * Likewise, permissions for update-podmanio.yml can be restricted to only writing repo contents and pull requests. Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
18 lines
322 B
YAML
18 lines
322 B
YAML
# https://github.com/actions/labeler
|
|
name: "Pull Request Labeler"
|
|
on:
|
|
- pull_request_target
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
triage:
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/labeler@v6
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|