Add reusable workflow to delete environment and revoke Salesforce token#52
Open
jlantz wants to merge 1 commit intocumulusci-next-snapshotsfrom
Open
Add reusable workflow to delete environment and revoke Salesforce token#52jlantz wants to merge 1 commit intocumulusci-next-snapshotsfrom
jlantz wants to merge 1 commit intocumulusci-next-snapshotsfrom
Conversation
Add a new reusable workflow to delete an environment and revoke the Salesforce token. * **New Workflow**: Add `delete-environment.yml` to `.github/workflows/` to delete an environment and revoke the Salesforce token. - Include steps to authenticate to DevHub, delete the environment, and revoke the Salesforce token using new d2x commands. * **New Command**: Add `revoke_sf_token` function in `d2x/auth/sf/auth_url/__init__.py` to handle token revocation. - Implement the function to make API calls to Salesforce for token revocation. - Add necessary imports for the new function. * **Documentation**: Update `README.md` to document the new workflow and command with usage instructions. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/muselab-d2x/d2x/tree/cumulusci-next-snapshots?shareId=XXXX-XXXX-XXXX-XXXX).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a new reusable workflow to delete an environment and revoke the Salesforce token.
delete-environment.ymlto.github/workflows/to delete an environment and revoke the Salesforce token.revoke_sf_tokenfunction ind2x/auth/sf/auth_url/__init__.pyto handle token revocation.README.mdto document the new workflow and command with usage instructions.For more details, open the Copilot Workspace session.