feat: add GITHUB_TOKEN environment variables to action.yml#181
feat: add GITHUB_TOKEN environment variables to action.yml#181shenxianpeng merged 4 commits intomainfrom
GITHUB_TOKEN environment variables to action.yml#181Conversation
Commit-Check ✔️ |
📝 WalkthroughWalkthroughAdds two environment variables to the action and removes an explicit token example from the README: Changes
Sequence Diagram(s)sequenceDiagram
participant Workflow as GitHub Actions Workflow
participant Action as Commit-Check Action
participant GitHub as GitHub Token Provider / API
Workflow->>Action: start step (action.yml)
Note over Workflow,Action: Runner injects env
GitHub->>Action: provide `github.token` value
Action->>Action: populate env `GH_TOKEN` and `GITHUB_TOKEN` from `github.token`
Action->>GitHub: authenticate requests using `GH_TOKEN` / `GITHUB_TOKEN`
GitHub-->>Action: respond to API calls
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Removed GITHUB_TOKEN environment variable for self test.
GITHUB_TOKEN environment variables to action.yml
fixes #179
Summary by CodeRabbit
Chores
Documentation