name: 'Checkout' description: 'Checkout the current repository' runs: using: "composite" steps: - name: Clone Repository shell: sh run: | URL_WITH_HTTP=${{ github.server_url }} URL=${URL_WITH_HTTP#http://} URL=${URL#https://} git clone http://wf:${{ github.token }}@${URL}/${{ github.repository }}.git ${{ github.workspace }} - name: Checkout Repository shell: sh run: | cd ${{ github.workspace }} # RIRE TODO #git checkout ${{ github.ref }}