Skip to content

Auto-trigger the Xposed mirror from release.yml#13

Merged
Xiddoc merged 1 commit into
masterfrom
claude/xposed-release-requirements-bbg0n9
Jul 2, 2026
Merged

Auto-trigger the Xposed mirror from release.yml#13
Xiddoc merged 1 commit into
masterfrom
claude/xposed-release-requirements-bbg0n9

Conversation

@Xiddoc

@Xiddoc Xiddoc commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Why

After #12, the xposed-release mirror was wired to run on release: published, but that trigger never fires for our auto-cut releases: release.yml publishes the release using the default GITHUB_TOKEN, and GitHub deliberately won't start another workflow from a GITHUB_TOKEN-authored release event (anti-recursion). Verified live — the mirror had 0 runs after v1.0.8 was cut.

What

  • release.yml now explicitly dispatches xposed-release.yml as its final step (gh workflow run … -f tag=<tag>). workflow_dispatch is an allowed exception to the GITHUB_TOKEN rule, so this reliably kicks the mirror after each release.
  • Grants the release job actions: write so it can dispatch.

The release: published and manual workflow_dispatch paths from #12 still work; this just makes the automatic path fire.

Verification

Manually dispatched the mirror for the existing v1.0.8 (token now configured). Run succeeded, and the entry repo now has a compliant release:

  • Xposed-Modules-Repo/com.xiddoc.playintegrityalert → tag 22-1.0.8 (VersionCode-VersionName) with asset PlayIntegrityAlert-v1.0.8.apk, README/SUMMARY/SOURCE_URL synced.

🤖 Generated with Claude Code


Generated by Claude Code

The release.yml-published release is authored by GITHUB_TOKEN, and
GitHub won't start another workflow from a GITHUB_TOKEN-created release
event, so the xposed-release 'release: published' trigger never fired
for auto-cut releases. Dispatch xposed-release.yml explicitly at the end
of release.yml instead (workflow_dispatch is an allowed exception), and
grant the job actions: write so it can dispatch.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UMXydF1vt9Y1NKsncTN6gd
@Xiddoc Xiddoc merged commit 84cb033 into master Jul 2, 2026
2 checks passed
@Xiddoc Xiddoc deleted the claude/xposed-release-requirements-bbg0n9 branch July 2, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants