Skip to content

Commit

Permalink
No PR license statement check on a merge (#2074)
Browse files Browse the repository at this point in the history
No longer try to check PR license statement on a merge to main.
  • Loading branch information
justsmth authored Dec 23, 2024
1 parent a16c659 commit 445813a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/misc-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Install jq
- if: ${{ github.event.pull_request != null }}
name: Install jq
run: |
sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
sudo apt-get install -y jq
- name: Check PR description
- if: ${{ github.event.pull_request != null }}
name: Check PR description
run: |
# License statement we want present.
LICENSE_STATEMENT="By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license."
Expand Down

0 comments on commit 445813a

Please sign in to comment.