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
The code responsible for updating PR comments, checks header with startsWith, which prone to override another stack's comment if one stack is named as prefix of another if run after.
In our case we have two stacks, default region dev stack and stack for some specific region, e.g. dev and dev-tokyo
constheading=`#### :tropical_drink: \`${command}\` on ${projectName}/${stackName}`;
Like: #### :tropical_drink: \`${command}\` on ${projectName}/${stackName}.
Example
Create stack with name dev and another stack with name dev-tokyo.
Output of pulumi about
N/A
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered:
What happened?
The code responsible for updating PR comments, checks header with
startsWith
, which prone to override another stack's comment if one stack is named as prefix of another if run after.In our case we have two stacks, default region dev stack and stack for some specific region, e.g.
dev
anddev-tokyo
The issue code line:
actions/src/libs/pr.ts
Lines 56 to 58 in 0806784
A simple, quick solution is to add some ending symbol like
.
after${stackName}
:actions/src/libs/pr.ts
Line 19 in 0806784
Like:
#### :tropical_drink: \`${command}\` on ${projectName}/${stackName}.
Example
Create stack with name
dev
and another stack with namedev-tokyo
.Output of
pulumi about
N/A
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: