1 name: "Add buildbot information to first PRs from new contributors"
7 # It's safe to use pull_request_target here, because we aren't checking out
8 # code from the pull request branch.
9 # See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
16 runs-on: ubuntu-latest
20 (github.repository == 'llvm/llvm-project') &&
21 (github.event.pull_request.merged == true)
23 - name: Checkout Automation Script
24 uses: actions/checkout@v4
26 sparse-checkout: llvm/utils/git/
29 - name: Setup Automation Script
30 working-directory: ./llvm/utils/git/
32 pip install --require-hashes -r requirements.txt
34 - name: Add Buildbot information comment
35 working-directory: ./llvm/utils/git/
37 python3 ./github-automation.py \
38 --token '${{ secrets.GITHUB_TOKEN }}' \
39 pr-buildbot-information \
40 --issue-number "${{ github.event.pull_request.number }}" \
41 --author "${{ github.event.pull_request.user.login }}"