Skip to content

Commit

Permalink
[security] delete the insecure workflow (#21)
Browse files Browse the repository at this point in the history
[feat] add CODEOWNERS
[fix] pr triggered only from internal repo
  • Loading branch information
AndyBoWu authored Jan 16, 2024
1 parent 85c4de8 commit c84d715
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 43 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @DonFungible @edisonz0718
43 changes: 0 additions & 43 deletions .github/workflows/external-pr.yaml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/internal-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:

jobs:
build_and_test:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
uses: ./.github/workflows/build-and-test.yaml
with:
sha: ${{ github.event.pull_request.head.sha }}
Expand Down

0 comments on commit c84d715

Please sign in to comment.