Skip to content

Commit

Permalink
use default branch for license compare
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Sep 20, 2024
1 parent 0762306 commit 8301557
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/license-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ jobs:
python-version: [3.9]

steps:
# As the license check no longer run on PR, it would always compare to the main branch.
- name: Checkout main
uses: actions/checkout@v2
with:
path: sdkmain
ref: ${{ github.base_ref }}
ref: ${{ github.event.repository.default_branch }}
- name: Checkout this ref
uses: actions/checkout@v2
with:
Expand Down

0 comments on commit 8301557

Please sign in to comment.