diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20b98d25..53b3250e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,10 +51,10 @@ jobs: if [ ${{ github.event_name }} == 'push' ] then CHANGED_DIRS=$(git diff --name-only ${{ github.event.before }}..${{ github.event.after }} | grep PKGBUILD | cut -d / -f 1) - elif [ ${github.event_name} == 'pull_request' ] + elif [ ${{ github.event_name }} == 'pull_request' ] then CHANGED_DIRS=$(git diff --name-only ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} | cut -d / -f 1) - elif [ ${github.event_name} == 'workflow_dispatch' ] + elif [ ${{ github.event_name }} == 'workflow_dispatch' ] then CHANGED_DIRS=$(git diff --name-only HEAD..HEAD~1 | cut -d / -f 1) fi