Skip to content

feat: Add setup-gh.sh script#87

Merged
rbarker-dev merged 4 commits intomainfrom
86-add-helper-script-setup-gh
May 12, 2025
Merged

feat: Add setup-gh.sh script#87
rbarker-dev merged 4 commits intomainfrom
86-add-helper-script-setup-gh

Conversation

@rbarker-dev
Copy link
Copy Markdown
Contributor

Description:

Adds the script setup-gh.sh which can be run to set up environment variables

Related Issue(s):

Closes #86

**Description**:

Adds the script setup-gh.sh which can be run to set up environment
variables

**Related Issue(s)**:

Closes #86

Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>
@rbarker-dev rbarker-dev linked an issue May 12, 2025 that may be closed by this pull request
@github-actions github-actions Bot added the feat label May 12, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new script (setup-gh.sh) to set up the GitHub CLI authentication parameters and updates the README with usage instructions.

  • Adds a bash script (setup-gh.sh) to configure the GitHub environment variables for authentication.
  • Updates the README to include instructions for sourcing the new script.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/setup-gh.sh New script for initializing GitHub CLI authentication parameters
README.md Updated setup instructions to include usage of setup-gh.sh

Comment thread src/setup-gh.sh Outdated
@rbarker-dev rbarker-dev self-assigned this May 12, 2025
Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>
@rbarker-dev rbarker-dev requested a review from Copilot May 12, 2025 17:23
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds a new shell script (setup-gh.sh) to configure GitHub CLI authentication and updates the README to document its usage.

  • Added a standalone script that sets up required environment variables by refreshing token scopes and retrieving the GitHub username.
  • Updated the README to include instructions detailing how to source the new script.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/setup-gh.sh New setup script to configure GitHub CLI environment variables.
README.md Documentation update to instruct users on sourcing the new script.

Comment thread README.md Outdated
Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>
Comment thread src/setup-gh.sh
Co-authored-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>
@rbarker-dev rbarker-dev merged commit a6cfec4 into main May 12, 2025
5 checks passed
@rbarker-dev rbarker-dev deleted the 86-add-helper-script-setup-gh branch May 12, 2025 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add helper script setup-gh

3 participants