Skip to content

Commit

Permalink
splited the case of a PR that came from the original repo and the cas…
Browse files Browse the repository at this point in the history
…e when the request came from a fork, in the latter case will try to trit it as not a PR
  • Loading branch information
maxb-io committed Feb 26, 2024
1 parent 0f51fb2 commit bf1185c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check_license_and_history.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Get changed files
id: changes
run: |
if [ ${ github.event.pull_request.head.repo.full_name != 'speedb-io/speedb' }]; then
if [ ${ github.event.pull_request.head.repo.full_name != 'speedb-io/speedb' } ]; then
echo "files added or changed in a PR that came from the speedb repo: "
git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} -- . ':!.github' ':!*.md'
echo "diff_list<<EOF" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit bf1185c

Please sign in to comment.