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
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already)
Issue details
When creating an organization secret and assigning it to a repository, then refreshing the stack the secret resource is deleted from the stack but not from GitHub. Also, the secret should never be deleted from the stack or GitHub, we're just running a refresh
Add org name and GitHub access token to config (pulumi config set github:owner {organization name} followed by pulumi config set github:token {token} - token can be created from here)
Run pulumi up to create resources
Run pulumi refresh without changing anything. You'll see the ActionsOrganizationSecret marked for deletion. If you then select yes you'll see that the resource is deleted from the stack, but if you look at the organization secrets in GitHub, you'll see that the secret is still there
Expected:
Nothing to happen
Actual:
GitHub org secret resource is deleted from the stack
The text was updated successfully, but these errors were encountered:
You can work around this bug by using the embedded selectedRepositoryIds in the ActionsOrganizationSecret resource itself instead of using the separate ActionsOrganizationSecretRepositories resource.
Hello!
Issue details
When creating an organization secret and assigning it to a repository, then refreshing the stack the secret resource is deleted from the stack but not from GitHub. Also, the secret should never be deleted from the stack or GitHub, we're just running a refresh
Steps to reproduce
pulumi config set github:owner {organization name}
followed bypulumi config set github:token {token}
- token can be created from here)pulumi up
to create resourcespulumi refresh
without changing anything. You'll see theActionsOrganizationSecret
marked for deletion. If you then selectyes
you'll see that the resource is deleted from the stack, but if you look at the organization secrets in GitHub, you'll see that the secret is still thereExpected:
Nothing to happen
Actual:
GitHub org secret resource is deleted from the stack
The text was updated successfully, but these errors were encountered: