diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c051787..be5aa03e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release on: release: types: - - created + - released jobs: patch-release: @@ -17,10 +17,10 @@ jobs: path: skare3_tools - name: Release Description and Skare3 Issue run: | - sudo pip3 install setuptools - sudo pip3 install -r ./skare3_tools/requirements.txt - sudo pip3 install ./skare3_tools - skare3-release-merge-info --user $GITHUB_ACTOR --repository $GITHUB_REPOSITORY --sha $GITHUB_SHA - skare3-create-issue --user $GITHUB_ACTOR --repository sot/skare3 --latest-release $GITHUB_REPOSITORY --label 'Package update' + sudo -H pip3 install setuptools wheel + sudo -H pip3 install -r ./skare3_tools/requirements.txt + sudo -H pip3 install ./skare3_tools + skare3-release-merge-info --repository $GITHUB_REPOSITORY --sha $GITHUB_SHA + skare3-create-issue --repository sot/skare3 --latest-release $GITHUB_REPOSITORY --label 'Package update' env: - GITHUB_PASSWORD: ${{ secrets.GITHUB_TOKEN }} + GITHUB_API_TOKEN: ${{ secrets.SKARE3_CI_API_TOKEN }}