You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Identify the App by its client-id (stored as an org variable). The client-id isn't secret — it's on the App's public page. GitHub Actions has two distinct stores: secrets (write-only, redacted in logs, intended for credentials) and variables (readable, plain in logs, intended for non-sensitive configuration). The client-id belongs in a variable, both for honesty and so the value is inspectable in logs when debugging cross-repo dispatch.
Automate demo-farm tag bump on release #710 adds a fourth consumer (openemr/demo_farm_openemr); the App needs to be installed there and added to RELEASE_APP_PRIVATE_KEY's selected-repos list as part of the same change.
Steps
Create org variable RELEASE_APP_CLIENT_ID.
In every workflow that mints the App token, replace the app-id: input (deprecated by actions/create-github-app-token) with client-id: ${{ vars.RELEASE_APP_CLIENT_ID }}. Don't set both — the new input replaces the old one. Affected files:
Two related cleanups to the release App's wiring:
openemr/demo_farm_openemr); the App needs to be installed there and added toRELEASE_APP_PRIVATE_KEY's selected-repos list as part of the same change.Steps
RELEASE_APP_CLIENT_ID.app-id:input (deprecated byactions/create-github-app-token) withclient-id: ${{ vars.RELEASE_APP_CLIENT_ID }}. Don't set both — the new input replaces the old one. Affected files:openemr/openemr:release-prep.yml,release-permissions-check.ymlopenemr/openemr-devops:release-rotation.yml(and any new release-app-using workflows from feat(ci): render Docker Hub readme from versions.yml at build time #715/ci: add manual workflow to validate DOCKERHUB_TOKEN before a build #716 that land first)openemr/website-openemr:release-docs.ymlopenemr/demo_farm_openemr:bump-tag.yml(new in feat(ci): automate production-demo tag bump on openemr-tag dispatch demo_farm_openemr#108)openemr/demo_farm_openemr.openemr/demo_farm_openemrtoRELEASE_APP_PRIVATE_KEY's selected-repos list.RELEASE_APP_ID(no longer referenced).Verification
release-permissions-check's probe (after feat(release): dispatch openemr-tag to openemr/demo_farm_openemr openemr#12128) succeeds againstdemo_farm_openemr.workflow_dispatchofbump-tagonopenemr/demo_farm_openemrwith the current tag succeeds (no-op, exercises auth).Related
#664, #706, #710, openemr/demo_farm_openemr#108, openemr/openemr#12128, #584.