Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub authentication #98

Merged
merged 9 commits into from
Jul 11, 2024
Merged

Add GitHub authentication #98

merged 9 commits into from
Jul 11, 2024

Conversation

harshshahsumo
Copy link
Contributor

@harshshahsumo harshshahsumo commented Jul 8, 2024

This PR will help in making request to github after authentication. Related issue

@harshshahsumo harshshahsumo marked this pull request as ready for review July 10, 2024 18:09
@harshshahsumo harshshahsumo requested review from a team as code owners July 10, 2024 18:09
Comment on lines 24 to 25
fmt.Println("Error: GitHub token not found in environment variables")
os.Exit(1)
Copy link
Contributor

Choose a reason for hiding this comment

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

You can use log.Fatal here, FYI

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed

Comment on lines 71 to 72
- name: Debug GitHub Token
run: echo "Token is ${{ secrets.GH_CI_TOKEN }}"
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be removed, and we should change the token afterwards

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed

@harshshahsumo harshshahsumo merged commit 7d31881 into main Jul 11, 2024
36 checks passed
@harshshahsumo harshshahsumo deleted the addGithubAuthentication branch July 11, 2024 14:55
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.

2 participants