diff --git a/.github/workflows/core-build-playerbots.yml b/.github/workflows/core-build-playerbots.yml index b8eebfe10..72fefb9c2 100644 --- a/.github/workflows/core-build-playerbots.yml +++ b/.github/workflows/core-build-playerbots.yml @@ -63,7 +63,7 @@ jobs: uses: actions/checkout@v3 with: repository: 'mod-playerbots/mod-playerbots' - ref: ${{ github.event.inputs.playerbot_branch || 'master' }} + ref: ${{ inputs.playerbot_branch || github.head_ref || github.ref_name || 'master' }} path: 'modules/mod-playerbots' - name: Install Requirements