Skip to content

Add reusable workflow to delete environment and revoke Salesforce token#52

Open
jlantz wants to merge 1 commit intocumulusci-next-snapshotsfrom
jlantz/add-delete-environment-workflow
Open

Add reusable workflow to delete environment and revoke Salesforce token#52
jlantz wants to merge 1 commit intocumulusci-next-snapshotsfrom
jlantz/add-delete-environment-workflow

Conversation

@jlantz
Copy link
Copy Markdown
Contributor

@jlantz jlantz commented Oct 31, 2024

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.

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).
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