Skip to content

Commit

Permalink
Update check_cla.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
test-ext authored Oct 20, 2023
1 parent 17ff5d0 commit 548072c
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/check_cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,11 @@ jobs:
uses: actions/checkout@v3

- name: Close Pull Request
id: close_pr
if: ${{ steps.accepts_external_contrib.outputs.accepts_contrib != 'true' }}
run: |
message="This repository does not accept external contributions yet.
We are therefore closing this Pull Request, thank you for your understanding.
— The DFINITY Foundation"
gh pr close ${{ github.event.number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: peter-evans/close-fork-pulls@v2
with:
comment: |
Sorry. Pull requests are not accepted for this repository.
Auto-closing this pull request.
- name: Add Label
uses: actions-ecosystem/action-add-labels@v1
Expand Down

0 comments on commit 548072c

Please sign in to comment.