Lines Matching +full:python3 +full:- +full:github

9   # See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
12 - opened
13 - reopened
14 - ready_for_review
15 - synchronize
19 runs-on: ubuntu-latest
21 pull-requests: write
23 # new to LLVM or to GitHub as a whole. Ideally we'd look for FIRST_TIMER
26 …# See https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=opened#pull_reque…
28 if: >-
29 (github.repository == 'llvm/llvm-project') &&
30 (github.event.action == 'opened') &&
31 (github.event.pull_request.author_association != 'COLLABORATOR') &&
32 (github.event.pull_request.author_association != 'CONTRIBUTOR') &&
33 (github.event.pull_request.author_association != 'MANNEQUIN') &&
34 (github.event.pull_request.author_association != 'MEMBER') &&
35 (github.event.pull_request.author_association != 'OWNER')
37 - name: Checkout Automation Script
40 sparse-checkout: llvm/utils/git/
43 - name: Setup Automation Script
44 working-directory: ./llvm/utils/git/
46 pip install --require-hashes -r requirements.txt
48 - name: Greet Author
49 working-directory: ./llvm/utils/git/
51 python3 ./github-automation.py \
52 --token '${{ secrets.GITHUB_TOKEN }}' \
53 pr-greeter \
54 --issue-number "${{ github.event.pull_request.number }}"
56 automate-prs-labels:
59 runs-on: ubuntu-latest
66 always() && github.repository == 'llvm/llvm-project' &&
67 github.event.pull_request.draft == false &&
68 github.event.pull_request.commits < 10
70 - uses: actions/labeler@v4
72 configuration-path: .github/new-prs-labeler.yml
73 # workaround for https://github.com/actions/labeler/issues/112
74 sync-labels: ''
75 repo-token: ${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}