Skip to content

Only create app token when deploying preview - #807

Merged
MattiasBuelens merged 1 commit into
mainfrom
devin/1786440979-fix-deploy-app-token
Aug 11, 2026
Merged

Only create app token when deploying preview#807
MattiasBuelens merged 1 commit into
mainfrom
devin/1786440979-fix-deploy-app-token

Conversation

@MattiasBuelens

Copy link
Copy Markdown
Collaborator

Summary

#803 added a Create app token step to _deploy.yml/_undeploy.yml unconditionally, but THEOPLAYER_BOT_PRIVATE_KEY is only available for the preview environment, so the production deploy failed immediately.

The token is only used by the sticky-pull-request-comment steps, which already have if: inputs.environment_name == 'preview', so the token step gets the same condition.

Link to Devin session: https://dolby.devinenterprise.com/sessions/6aca0af0eb1b47a6960942be081fcb46
Requested by: @MattiasBuelens

Co-Authored-By: Mattias Buelens <mattias.buelens@dolby.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@theoplayer-bot

This comment has been minimized.

@MattiasBuelens
MattiasBuelens merged commit 723f963 into main Aug 11, 2026
4 checks passed
@MattiasBuelens
MattiasBuelens deleted the devin/1786440979-fix-deploy-app-token branch August 11, 2026 10:21
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