diff --git a/.github/workflows/buildOnlyModified.yml b/.github/workflows/buildOnlyModified.yml index 6f7bd4d2..26653e49 100644 --- a/.github/workflows/buildOnlyModified.yml +++ b/.github/workflows/buildOnlyModified.yml @@ -106,3 +106,9 @@ jobs: asset_path: ./tmp-zip/docker_listing.txt asset_name: docker_listing.txt asset_content_type: text/plain + - name: Delete test + run: | + git config --local user.email "github-action@saagie.com" + git config --local user.name "GitHub Action Bot" + remote_repo="https://${{ github.actor }}:${{ secrets.TOKEN_GITHUB }}@github.com/${{ context.repo.repo }}.git" + git push --delete "${remote_repo}" testjb \ No newline at end of file diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index d1ae249c..e708d475 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -47,7 +47,7 @@ jobs: run: | git config --local user.email "github-action@saagie.com" git config --local user.name "GitHub Action Bot" - remote_repo="https://${{ github.actor }}:${{ secrets.TOKEN_GITHUB }}@github.com/${{ github.rest.repository }}.git" + remote_repo="https://${{ github.actor }}:${{ secrets.TOKEN_GITHUB }}@github.com/${{ context.repo.repo }}.git" git push --delete "${remote_repo}" ${{ steps.extract_pr_version.outputs.v }} - name: Remove buildMeta version run: |