From 70e469be3e285b76fa7e93a9d9628ea47d60e03f Mon Sep 17 00:00:00 2001 From: tammy-baylis-swi Date: Thu, 10 Nov 2022 14:48:28 -0800 Subject: [PATCH] Rm checkout, add --repo flag to create draft release --- .github/workflows/build_publish_pypi_and_draft_release.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build_publish_pypi_and_draft_release.yaml b/.github/workflows/build_publish_pypi_and_draft_release.yaml index ff235664..f3af7866 100644 --- a/.github/workflows/build_publish_pypi_and_draft_release.yaml +++ b/.github/workflows/build_publish_pypi_and_draft_release.yaml @@ -42,12 +42,11 @@ jobs: needs: build_publish_and_release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - name: Initialize git run: | git config user.name "GitHub Actions" git config user.email noreply@github.com - name: Create draft release - run: gh release create ${{ env.RELEASE_NAME }} --title "${{ env.RELEASE_NAME }}" --target release/${{ env.RELEASE_NAME }} --draft + run: gh release create ${{ env.RELEASE_NAME }} --repo appoptics/solarwinds-apm-python --title "${{ env.RELEASE_NAME }}" --target release/${{ env.RELEASE_NAME }} --draft env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}