This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
Konstantinos/DPROD-2164/Update data on the trading specifications table - January 2024 #2386
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
env: | |
EVENT_NUMBER: ${{ github.event.number }} | |
EVENT_USERNAME: ${{ github.event.pull_request.user.login }} | |
HEAD_REF: ${{ github.head_ref }} | |
run: | | |
mkdir -p ./pr | |
echo "$EVENT_NUMBER" > ./pr/NR | |
echo "$EVENT_USERNAME" > ./pr/USERNAME | |
echo "$HEAD_REF" > ./pr/BRANCHNAME | |
- name: Upload PR information to artifact | |
env: | |
RUN_ID: ${{ github.run_id }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: 'pr-${{ env.RUN_ID }}' | |
path: pr/ |