Fixes the release workflow failure on this fork. Merging PR #1 to master triggered the packaging workflow (run 28108706125), which failed at the Delete older auto-releases step with:
🔴 no GITHUB_TOKEN found. pass `GITHUB_TOKEN` as env
Root cause
release.yml was upstream infrastructure: it published alpha releases to noDRM/DeDRM_tools_autorelease via secrets.AUTORELEASE_KEY. That secret only exists on the upstream repo, so on a fork it resolves to empty (hence the missing token) — and even with a token, a fork can't publish into noDRM's release repo.
Fix
Retarget the auto-release at this repo's own Releases using the built-in GITHUB_TOKEN:
repo / repository → ${{ github.repository }}
token → ${{ secrets.GITHUB_TOKEN }} (no PAT required)
added job-level permissions: contents: write so the token can create/delete releases
updated the commit link in the release body to ${{ github.repository }}
Once merged, the next push to master will publish an alpha release into this fork's own Releases.
## Summary
Fixes the release workflow failure on this fork. Merging PR #1 to `master` triggered the packaging workflow ([run 28108706125](https://github.com/JMR-dev/DeDRM_tools/actions/runs/28108706125/job/83229905760)), which failed at the **Delete older auto-releases** step with:
```
🔴 no GITHUB_TOKEN found. pass `GITHUB_TOKEN` as env
```
### Root cause
`release.yml` was upstream infrastructure: it published alpha releases to `noDRM/DeDRM_tools_autorelease` via `secrets.AUTORELEASE_KEY`. That secret only exists on the upstream repo, so on a fork it resolves to empty (hence the missing token) — and even with a token, a fork can't publish into noDRM's release repo.
### Fix
Retarget the auto-release at this repo's own Releases using the built-in `GITHUB_TOKEN`:
- `repo` / `repository` → `${{ github.repository }}`
- token → `${{ secrets.GITHUB_TOKEN }}` (no PAT required)
- added job-level `permissions: contents: write` so the token can create/delete releases
- updated the commit link in the release body to `${{ github.repository }}`
Once merged, the next push to `master` will publish an alpha release into this fork's own Releases.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Fixes the release workflow failure on this fork. Merging PR #1 to
mastertriggered the packaging workflow (run 28108706125), which failed at the Delete older auto-releases step with:Root cause
release.ymlwas upstream infrastructure: it published alpha releases tonoDRM/DeDRM_tools_autoreleaseviasecrets.AUTORELEASE_KEY. That secret only exists on the upstream repo, so on a fork it resolves to empty (hence the missing token) — and even with a token, a fork can't publish into noDRM's release repo.Fix
Retarget the auto-release at this repo's own Releases using the built-in
GITHUB_TOKEN:repo/repository→${{ github.repository }}${{ secrets.GITHUB_TOKEN }}(no PAT required)permissions: contents: writeso the token can create/delete releases${{ github.repository }}Once merged, the next push to
masterwill publish an alpha release into this fork's own Releases.🤖 Generated with Claude Code