Skip to content

Commit

Permalink
[add] Receive PR workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
trheyi committed Feb 25, 2022
1 parent 3e0ac6a commit 7c733b0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pr-receive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Receive PR

# read-only repo token
# no access to secrets
on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Build
run: /bin/bash ./build.sh

- name: Save PR number
run: |
mkdir -p ./pr
echo ${{ github.event.number }} > ./pr/NR
- uses: actions/upload-artifact@v2
with:
name: pr
path: pr/

0 comments on commit 7c733b0

Please sign in to comment.