Skip to content

chore(actions): replace deployment PAT with app dispatch#223

Merged
risu729 merged 1 commit into
projects-botfrom
chore/deployment-dispatch-projects-bot
Apr 5, 2026
Merged

chore(actions): replace deployment PAT with app dispatch#223
risu729 merged 1 commit into
projects-botfrom
chore/deployment-dispatch-projects-bot

Conversation

@risu729
Copy link
Copy Markdown
Member

@risu729 risu729 commented Apr 5, 2026

Summary

Backport the deployment dispatch workflow change from develop to projects-bot so this branch stops using the legacy PAT-based deployment update flow as well.

Changes

  • replace the current deploy step flow with devsoc-unsw/deployment-dispatch-action@main
  • use vars.DEPLOYMENT_DISPATCHER_APP_ID and secrets.DEPLOYMENT_DISPATCHER_APP_PRIVATE_KEY
  • switch GHCR publish authentication to github.token
  • remove all remaining GH_TOKEN and old image-updater references from the branch

Context

This backport keeps projects-bot aligned with the main branch workflow change and targets csesoc/deployment on develop through the shared dispatch action.

Verification

  • rg -n "\\bGH_TOKEN\\b|\\bIMAGE_UPDATER_APP_ID\\b|\\bIMAGE_UPDATER_APP_PRIVATE_KEY\\b" . -S -g '!node_modules' returns no matches
  • actionlint -color .github/workflows/docker.yml still reports the same pre-existing baseline issues for old major action refs and the missing steps.meta definition
  • confirmed csesoc/deployment has .github/workflows/dispatch-image-update.yml on its default branch and that its manifest matcher accepts ghcr.io/csesoc/projects-discord-bot

@risu729 risu729 merged commit 8b9b927 into projects-bot Apr 5, 2026
3 checks passed
@risu729 risu729 deleted the chore/deployment-dispatch-projects-bot branch April 5, 2026 16:17
@risu729
Copy link
Copy Markdown
Member Author

risu729 commented Apr 5, 2026

Superseded by #225, which includes the same dispatch-action migration plus distinct qa/ptb image names to avoid cross-environment deployment updates.

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.

1 participant