From 152969649e23fd199685274dd3b9f54f28995e93 Mon Sep 17 00:00:00 2001 From: Javier Gonzalez Date: Wed, 12 Feb 2020 14:08:39 -0500 Subject: [PATCH] change to fix release workflow (actions github_token can not be used to create issues) --- .github/workflows/release.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c05178..57bbf83 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,10 +17,13 @@ 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 + sudo -H pip3 install setuptools wheel + sudo -H pip3 install -r ./skare3_tools/requirements.txt + sudo -H pip3 install ./skare3_tools + echo skare3-release-merge-info --user $GITHUB_ACTOR --repository $GITHUB_REPOSITORY --sha $GITHUB_SHA + export GITHUB_PASSWORD=${{ secrets.GITHUB_TOKEN }} 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' - env: - GITHUB_PASSWORD: ${{ secrets.GITHUB_TOKEN }} + export GITHUB_PASSWORD=${{ secrets.CHANDRA_XRAY_TOKEN }} + echo skare3-create-issue --user chandra-xray --repository sot/skare3 --latest-release $GITHUB_REPOSITORY --label 'Package update' + skare3-create-issue --user chandra-xray --repository sot/skare3 --latest-release $GITHUB_REPOSITORY --label 'Package update' + echo done