Skip to content

Add smart updateContentCommand execution  #29

Open

Description

@nomicode

Currently, the only command we run is trunk upgrade, but we plan to expand this in the future (probably with a dedicated shell script to collect the additional commands).

However, we want to avoid running trunk upgrade unless a repository is actually using Trunk. The same will be true for Sourcery.

For the GitHub CLI, logging in should be opt-in per repository.

For Trunk and Sourcery, we should test for the presence of associated configuration files. And for GitHub, we could test for a presence of Codespace secret.

--

Tasks:

  • Only initialize Trunk if a Trunk config exists
  • Only initialize Sourcery if a Sourcery config exists
  • Only log in to GitHub if a specific Codespace secret is set in the environment

Activity

  1. nomicode commented on Dec 9, 2022

    @nomicode
    OwnerAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions