on: release jobs: ls: runs-on: docker container: image: git.php.fail/lubiana/container/php:ci steps: - name: Manually checkout env: REPO: '${{ github.repository }}' TOKEN: '${{ secrets.GITHUB_TOKEN }}' BRANCH: '${{ env.GITHUB_REF_NAME }}' GIT_SERVER: 'hannover.ccc.de/gitlab' run: | git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}/${REPO}.git . git fetch git checkout ${{ github.head_ref }} - name: list run: ls