Skip to content

Commit 31ba27e

Browse files
[CI] Deploy CI
1 parent b83b7d6 commit 31ba27e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# .github/workflows/check-pull-request.yml
2+
name: Check Pull Request
3+
4+
on:
5+
pull_request_target:
6+
7+
jobs:
8+
check-pull-request:
9+
name: Check Pull Request
10+
runs-on: ubuntu-latest
11+
permissions:
12+
pull-requests: write
13+
steps:
14+
- name: Check signed commits
15+
id: review
16+
uses: cloudforet-io/check-pr-action@v1
17+
with:
18+
token: ${{ secrets.GITHUB_TOKEN }}
19+
20+
- name: Notify Result
21+
if: ${{ steps.review.outputs.signedoff == 'false' }}
22+
run: |
23+
echo "The review result is ${{ steps.review.outputs.signedoff }}"
24+
exit 1

0 commit comments

Comments
 (0)