Skip to content

test pr

test pr #1

Workflow file for this run

# See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
name: PR Receive
on:
pull_request_target:
types:
- opened
- reopened
- ready_for_review
- synchronize
permissions:
contents: read
jobs:
pr-target:
runs-on: ubuntu-latest
# Ignore PRs with more than 10 commits. Pull requests with a lot of
# commits tend to be accidents usually when someone made a mistake while trying
# to rebase. We want to ignore these pull requests to avoid excessive
# notifications.
if: github.repository == 'llvm/llvm-project' &&
github.event.pull_request.draft == false &&
github.event.pull_request.commits < 10
steps:
- name: Store PR Information
run: |
mkdir -p ./pr
echo ${{ github.event.number }} > ./pr/NR
- uses: actions/upload-artifact@v3
with:
name: pr
path: pr/