Skip to content

Commit

Permalink
fixed repo origin condition test in check_license_and_history workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maxb-io committed Feb 28, 2024
1 parent fd90f2b commit 2890663
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 @@ -21,7 +21,7 @@ jobs:
id: changes
run: |
echo ${{github.event.pull_request.head.repo.full_name}}
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 2890663

Please sign in to comment.