File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 6464 - name : Run GoReleaser test
6565 env :
6666 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
67- RELEASE_TOKEN : ${{ secrets.RELEASE_TOKEN }}
67+ SCOOP_NORGATEAV_CRESTRON : ${{ secrets.SCOOP_NORGATEAV_CRESTRON }}
6868 run : |
6969 make goreleaser-test
Original file line number Diff line number Diff line change 6666 args : release --clean
6767 env :
6868 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
69- RELEASE_TOKEN : ${{ secrets.RELEASE_TOKEN }}
69+ SCOOP_NORGATEAV_CRESTRON : ${{ secrets.SCOOP_NORGATEAV_CRESTRON }}
7070
7171 - name : Update GitHub Release with Release Notes
7272 env :
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ scoops:
6161 repository :
6262 owner : Norgate-AV
6363 name : scoop-norgateav-crestron
64- token : " {{ .Env.RELEASE_TOKEN }}"
64+ token : " {{ .Env.SCOOP_NORGATEAV_CRESTRON }}"
6565 directory : bucket
6666 homepage : https://github.com/Norgate-AV/spc
6767 description : " A better way to compile Crestron SIMPL+ files"
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ echo ""
161161print_status " 2. 📋 Checking Required Secrets..."
162162
163163check_secret " GITHUB_TOKEN" " GitHub Actions token (auto-provided)"
164- check_secret " RELEASE_TOKEN " " Token for Scoop repository"
164+ check_secret " SCOOP_NORGATEAV_CRESTRON " " Token for Scoop repository"
165165echo " "
166166
167167# 3. Required repositories check
196196
197197print_status " 6. 🔑 Checking Release Token Permissions..."
198198
199- if [ -z " ${RELEASE_TOKEN } " ]; then
200- print_warning " RELEASE_TOKEN is not set; skipping permission checks"
201- WARNINGS+=(" RELEASE_TOKEN is not set; skipping permission checks" )
199+ if [ -z " ${SCOOP_NORGATEAV_CRESTRON } " ]; then
200+ print_warning " SCOOP_NORGATEAV_CRESTRON is not set; skipping permission checks"
201+ WARNINGS+=(" SCOOP_NORGATEAV_CRESTRON is not set; skipping permission checks" )
202202else
203203 REPOS_TO_CHECK=(
204204 " Norgate-AV/scoop-norgateav-crestron"
205205 )
206206
207207 for repo in " ${REPOS_TO_CHECK[@]} " ; do
208- check_token_contents_permission " ${RELEASE_TOKEN } " " $repo " " RELEASE_TOKEN "
208+ check_token_contents_permission " ${SCOOP_NORGATEAV_CRESTRON } " " $repo " " SCOOP_NORGATEAV_CRESTRON "
209209 done
210210fi
211211echo " "
You can’t perform that action at this time.
0 commit comments