Replies: 1 comment
|
GitHub Actions cannot complete an interactive OAuth flow, so the login should happen once outside the runner and the resulting credential should be supplied as an encrypted Actions secret. The Basecamp CLI exposes
- name: Install Basecamp CLI
run: curl -fsSL https://basecamp.com/install-cli | bash
- name: Publish changelog
env:
BASECAMP_TOKEN: ${{ secrets.BASECAMP_TOKEN }}
run: basecamp --helpIf the CLI version you use only reads its OAuth config/credential file and not One caveat: an OAuth access token can expire. For long-lived automation, make sure the refresh token is persisted securely or use a supported static/service token and rotate it when required. |
Uh oh!
There was an error while loading. Please reload this page.
I'm writing a GitHub Action to post a changelog to Basecamp on the merge to main.
The action would have Basecamp CLI and skill as dependencies, along with Claude.
Cannot find an option to authorize Basecamp for the Action via Auth2.0.
I can probably give it a token via (which would expire). And action cannot open a browser to get access.
Is there a way to get a constant token? Or am I missing something?
All reactions