
https://github.com/actions/checkout/releases/tag/v5.0.0 was released a couple of days ago (still new, sufficient bake time that there probably is not a significant security issue). There are few changes, with the most notable ones being dependency bumps, specifically the node version bump to v24. This requires actions runner v2.327.1. I will land this after all of the infrastructure has been moved over to the new runner version.
35 lines
914 B
YAML
35 lines
914 B
YAML
name: PR Subscriber
|
|
|
|
on:
|
|
pull_request_target:
|
|
types:
|
|
- labeled
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
auto-subscribe:
|
|
runs-on: ubuntu-24.04
|
|
if: github.repository == 'llvm/llvm-project'
|
|
steps:
|
|
- name: Checkout Automation Script
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
with:
|
|
sparse-checkout: llvm/utils/git/
|
|
ref: main
|
|
|
|
- name: Setup Automation Script
|
|
working-directory: ./llvm/utils/git/
|
|
run: |
|
|
pip install --require-hashes -r requirements.txt
|
|
|
|
- name: Update watchers
|
|
working-directory: ./llvm/utils/git/
|
|
run: |
|
|
python3 ./github-automation.py \
|
|
--token '${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}' \
|
|
pr-subscriber \
|
|
--issue-number "${{ github.event.number }}" \
|
|
--label-name "${{ github.event.label.name }}"
|