Files
Mend Renovate 516370c265 Update [Github] Update GHA Dependencies (#194274)
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
|
[EnricoMi/publish-unit-test-result-action](https://redirect.github.com/EnricoMi/publish-unit-test-result-action)
| action | minor | `v2.23.0` → `v2.24.0` | |
|
[actions/attest-build-provenance](https://redirect.github.com/actions/attest-build-provenance)
| action | patch | `v4.1.0` → `v4.1.1` | |
| [actions/checkout](https://redirect.github.com/actions/checkout) |
action | patch | `v6.0.2` → `v6.0.3` | |
| [actions/checkout](https://redirect.github.com/actions/checkout) |
action | patch | `v6.0.1` → `v6.0.3` | |
|
[actions/create-github-app-token](https://redirect.github.com/actions/create-github-app-token)
| action | minor | `v3.1.1` → `v3.2.0` | |
| [actions/labeler](https://redirect.github.com/actions/labeler) |
action | minor | `v6.0.1` → `v6.2.0` | |
| [actions/setup-node](https://redirect.github.com/actions/setup-node) |
action | minor | `v6.3.0` → `v6.5.0` | |
|
[actions/setup-python](https://redirect.github.com/actions/setup-python)
| action | minor | `v6.2.0` → `v6.3.0` | |
|
[actions/upload-artifact](https://redirect.github.com/actions/upload-artifact)
| action | patch | `v7.0.0` → `v7.0.1` | |
| [aminya/setup-cpp](https://redirect.github.com/aminya/setup-cpp) |
action | patch | `v1.8.0` → `v1.8.1` | |
| [docker/login-action](https://redirect.github.com/docker/login-action)
| action | minor | `v4.1.0` → `v4.4.0` | |
| ghcr.io/llvm/amd64/ci-ubuntu-24.04-github-automation | container |
digest | `82b5304` → `f419363` | |
| ghcr.io/llvm/ci-ubuntu-24.04 | container | digest | `cc4fd65` →
`26c16c2` | |
| ghcr.io/llvm/ci-ubuntu-24.04-abi-tests | container | digest |
`cb3aea3` → `a948062` | |
| ghcr.io/llvm/ci-ubuntu-24.04-lint | container | digest | `91665a4` →
`416874e` | |
| ghcr.io/llvm/libc-ubuntu-24.04 | container | digest | `a902fb5` →
`b9c8ea7` | |
|
[github/codeql-action](https://redirect.github.com/github/codeql-action)
| action | minor | `v4.35.2` → `v4.37.0` | `v4.37.1` |
|
[hendrikmuhs/ccache-action](https://redirect.github.com/hendrikmuhs/ccache-action)
| action | patch | `v1.2.22` → `v1.2.23` | |
|
[zizmorcore/zizmor-action](https://redirect.github.com/zizmorcore/zizmor-action)
| action | minor | `v0.5.3` → `v0.6.0` | |

(cherry picked from commit 24942433bc8a71b8aa459f802a0962089bb4dd22)
2026-07-25 17:25:12 +02:00

65 lines
2.0 KiB
YAML

name: Issue/PR Subscriber
on:
pull_request_target:
types:
- labeled
issues:
types:
- labeled
permissions:
contents: read
env:
# github.event.number is for pull_request events and
# github.event.issue.number is for issues events.
ISSUE_NUMBER: ${{ github.event.number || github.event.issue.number }}
LABEL_NAME: ${{ github.event.label.name }}
jobs:
subscriber:
environment:
name: main-branch-only
deployment: false
if: github.repository == 'llvm/llvm-project'
runs-on: ubuntu-24.04
container:
image: "ghcr.io/llvm/amd64/ci-ubuntu-24.04-github-automation:latest@sha256:f4193631559b3a6ccd815280f80fd9211305a3f246e75aec84c6c8caea01d2a9"
steps:
- id: app-token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ secrets.LLVM_TOKEN_GENERATOR_CLIENT_ID }}
private-key: ${{ secrets.LLVM_TOKEN_GENERATOR_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
repositories: llvm-project
permission-members: read
permission-contents: read
permission-issues: ${{ case(github.event_name == 'issues', 'write', 'read') }}
permission-pull-requests: ${{ case(github.event_name == 'pull_request_target', 'write', 'read') }}
- name: Update subscribers
env:
EVENT_TRIGGER: ${{ github.event_name }}
ISSUE_SUBSCRIBER_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
case "$EVENT_TRIGGER" in
pull_request_target)
command="pr-subscriber"
;;
issues)
command="issue-subscriber"
;;
*)
echo "Unknown event trigger: $EVENT_TRIGGER"
exit 1
;;
esac
github-automation.py \
--token "$ISSUE_SUBSCRIBER_TOKEN" \
"$command" \
--issue-number "$ISSUE_NUMBER" \
--label-name "$LABEL_NAME"