fix: Use GitHub App token for prerelease workflow dispatch#913
Conversation
Co-Authored-By: AJ Steers <aj@airbyte.io>
Original prompt from AJ Steers |
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
Warning Rate limit exceededAaron ("AJ") Steers (@aaronsteers) has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 6 minutes and 58 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
✨ 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 |
👋 Greetings, Airbyte Team Member!Here are some helpful tips and reminders for your convenience. Testing This PyAirbyte VersionYou can test this version of PyAirbyte using the following: # Run PyAirbyte CLI from this branch:
uvx --from 'git+https://github.com/airbytehq/PyAirbyte.git@devin/1765672284-fix-prerelease-token' pyairbyte --help
# Install PyAirbyte from this branch for development:
pip install 'git+https://github.com/airbytehq/PyAirbyte.git@devin/1765672284-fix-prerelease-token'Helpful ResourcesPR Slash CommandsAirbyte Maintainers can execute the following slash commands on your PR:
Community SupportQuestions? Join the #pyairbyte channel in our Slack workspace. |
Summary
Fixes the
/prereleasecommand which was failing withError: Parameter token or opts.auth is requiredbecauseGITHUB_CI_WORKFLOW_TRIGGER_PATdoesn't exist.The fix uses the same GitHub App token pattern already used by other slash commands in this repo (
/fix-pr,/test-pr): generate an installation token at runtime usingactions/create-github-app-tokenwith the Octavia Bot credentials.Review & Testing Checklist for Human
OCTAVIA_BOT_APP_IDandOCTAVIA_BOT_PRIVATE_KEYsecrets are configured for this repoworkflow_dispatchevents on this repo/prereleaseon a test PR to verify the full flow works (this cannot be tested before merge)Notes
This is the third iteration fixing the
/prereleasecommand:workflow_calltoworkflow_dispatchfor OIDC attestation compatibilityLink to Devin run: https://app.devin.ai/sessions/c86d36be59664129af00617d0e66bc4d
Requested by: AJ Steers (Aaron ("AJ") Steers (@aaronsteers))