Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Bala/Change trigger for lighthouse and smoketest #639

Bala/Change trigger for lighthouse and smoketest

Bala/Change trigger for lighthouse and smoketest #639

name: Pre-generate preview link
permissions:
pull-requests: write
on:
pull_request:
types: [opened, synchronize]
concurrency:
group: cloudflare-pages-verify-${{ github.head_ref }}
cancel-in-progress: true
jobs:
verify_pull_request:
runs-on: Ubuntu-latest
steps:
- name: Retrieve PR information
run: |
mkdir -p ./pr
echo ${{ github.event.number }} > ./pr/NR
echo ${{ github.event.pull_request.user.login }} > ./pr/USERNAME
- name: Upload PR information to artifact
uses: actions/upload-artifact@v2
with:
name: 'pr-${{github.run_id}}'
path: pr/