name: Cache Poisoning

on: pull_request_target

permissions: read-all

jobs:
  poison:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          ref: ${{ github.event.pull_request.head.sha }}
      - uses: actions/cache@v2
        with:
          path: ./poison
          key: poison_key
      - run: |
          cat poison
