Skip to content

Commit 6e6ba32

Browse files
committed
workflow update: apply again the release workflow authentication changes, and undo the previous revert
1 parent 93c5c9e commit 6e6ba32

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
repository: sot/skare3_tools
5757
ref: master
5858
path: skare3_tools
59-
- uses: sot/setup-miniconda@v1
59+
- uses: sot/setup-miniconda@v2
6060
with:
6161
miniconda-version: "py38_4.8.3"
6262
python-version: "3.8"

.github/workflows/release.yml

+5-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release
22
on:
33
release:
44
types:
5-
- created
5+
- released
66

77
jobs:
88
patch-release:
@@ -20,10 +20,7 @@ jobs:
2020
sudo -H pip3 install setuptools wheel
2121
sudo -H pip3 install -r ./skare3_tools/requirements.txt
2222
sudo -H pip3 install ./skare3_tools
23-
echo skare3-release-merge-info --user $GITHUB_ACTOR --repository $GITHUB_REPOSITORY --sha $GITHUB_SHA
24-
export GITHUB_PASSWORD=${{ secrets.GITHUB_TOKEN }}
25-
skare3-release-merge-info --user $GITHUB_ACTOR --repository $GITHUB_REPOSITORY --sha $GITHUB_SHA
26-
export GITHUB_PASSWORD=${{ secrets.CHANDRA_XRAY_TOKEN }}
27-
echo skare3-create-issue --user chandra-xray --repository sot/skare3 --latest-release $GITHUB_REPOSITORY --label 'Package update'
28-
skare3-create-issue --user chandra-xray --repository sot/skare3 --latest-release $GITHUB_REPOSITORY --label 'Package update'
29-
echo done
23+
skare3-release-merge-info --repository $GITHUB_REPOSITORY --sha $GITHUB_SHA
24+
skare3-create-issue --repository sot/skare3 --latest-release $GITHUB_REPOSITORY --label 'Package update'
25+
env:
26+
GITHUB_API_TOKEN: ${{ secrets.SKARE3_CI_API_TOKEN }}

0 commit comments

Comments
 (0)