diff --git a/.github/workflows/custom-board-build.yml b/.github/workflows/custom-board-build.yml index 8a18f54304291..7b77d09a82408 100644 --- a/.github/workflows/custom-board-build.yml +++ b/.github/workflows/custom-board-build.yml @@ -41,8 +41,7 @@ jobs: - name: Set up repository run: | git clone --filter=tree:0 https://github.com/adafruit/circuitpython.git $GITHUB_WORKSPACE - - name: Checkout head - if: github.repository_owner == 'adafruit' + - name: Checkout head / tag run: | git checkout ${{ inputs.version == 'latest' && 'HEAD' || inputs.version }} - name: fork compatibility