You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
622 B
29 lines
622 B
name: Trigger PR Build
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: pr-${{ github.event.pull_request.number }}
|
|
cancel-in-progress: false
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
if: github.event.repository.fork == false
|
|
steps:
|
|
- name: Save PR info
|
|
run: |
|
|
mkdir -p ./pr_info
|
|
echo ${{ github.event.pull_request.number }} > ./pr_info/PR_NUMBER
|
|
echo ${{ github.event.pull_request.head.sha }} > ./pr_info/PR_SHA
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: pr_info
|
|
path: pr_info/
|