This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
Bump the github-actions group with 10 updates #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Subscriber | |
on: | |
pull_request_target: | |
types: | |
- labeled | |
permissions: | |
contents: read | |
jobs: | |
auto-subscribe: | |
runs-on: ubuntu-latest | |
if: github.repository == 'llvm/llvm-project' | |
steps: | |
- name: Checkout Automation Script | |
uses: actions/[email protected] | |
with: | |
sparse-checkout: llvm/utils/git/ | |
ref: main | |
- name: Setup Automation Script | |
working-directory: ./llvm/utils/git/ | |
run: | | |
chmod a+x github-automation.py | |
pip install -r requirements.txt | |
- name: Update watchers | |
working-directory: ./llvm/utils/git/ | |
run: | | |
./github-automation.py \ | |
--token '${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}' \ | |
pr-subscriber \ | |
--issue-number "${{ github.event.number }}" \ | |
--label-name "${{ github.event.label.name }}" |