Skip to content

Commit d62277b

Browse files
committed
fix: disable Scoop publishing until Personal Access Token is configured
- GitHub Actions GITHUB_TOKEN cannot access external repositories - Scoop bucket requires separate Personal Access Token with repo permissions - All other release features (packages, Docker, direct downloads) still work - Instructions added for enabling Scoop later
1 parent e37476b commit d62277b

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
permissions:
99
contents: write
1010
packages: write
11+
actions: read
12+
id-token: write
1113

1214
env:
1315
GO_VERSION: '1.22'

.goreleaser.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,21 @@ release:
131131
# bin.install "gh-notif"
132132
# man1.install Dir["docs/man/*.1"]
133133

134-
scoops:
135-
- name: gh-notif
136-
repository:
137-
owner: "SharanRP"
138-
name: scoop-bucket
139-
token: "{{ .Env.SCOOP_BUCKET_GITHUB_TOKEN }}"
140-
homepage: https://github.com/SharanRP/gh-notif
141-
description: "A high-performance CLI tool for managing GitHub notifications"
142-
license: MIT
134+
# Scoop publishing disabled until Personal Access Token is configured
135+
# To enable:
136+
# 1. Create GitHub Personal Access Token with 'repo' permissions
137+
# 2. Add as repository secret: SCOOP_BUCKET_GITHUB_TOKEN
138+
# 3. Uncomment the section below and change token back to SCOOP_BUCKET_GITHUB_TOKEN
139+
#
140+
# scoops:
141+
# - name: gh-notif
142+
# repository:
143+
# owner: "SharanRP"
144+
# name: scoop-bucket
145+
# token: "{{ .Env.SCOOP_BUCKET_GITHUB_TOKEN }}"
146+
# homepage: https://github.com/SharanRP/gh-notif
147+
# description: "A high-performance CLI tool for managing GitHub notifications"
148+
# license: MIT
143149

144150
nfpms:
145151
- id: packages

0 commit comments

Comments
 (0)