List the exact scopes the Deploy token needs
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- github-actions, python
- Domain
- devops, documentation
Research direction
Read the README's “GitHub environments” section around line 69, then check the Deploy workflow comments and docs/runbook.md for matching token scope guidance. Update those references with the listed app, actions, regions, sizes, and database scopes, explain the database requirement and token replacement steps, and say to grant no other scopes. Done when the README and any matching workflow or runbook claims consistently describe the minimum scopes.
Written by the indexing model from the issue text.
Description
Problem: README "GitHub environments" (line 69) says the production environment's DIGITALOCEAN_ACCESS_TOKEN is "a DigitalOcean token that can read and update the app". A custom-scoped token with only app read and update (plus the actions, regions, and sizes read scopes that app:update requires) failed to apply the pinned spec on the first v0.1.0 deploy. Adding database read and update fixed it, probably because the spec attaches the managed Postgres and Valkey clusters. DigitalOcean lists the database scopes as optional for app:update, so the README is the only place that can say they are needed here.
Scope:
- README line 69 lists the exact custom scopes the Deploy token needs: app read and update; actions, regions, and sizes read; database read and update. It says to grant nothing else.
- Say why the database scopes are needed, and how to replace the token when a scope is missing (a new token, a new secret value in the
productionenvironment, then delete the old token) - Check the Deploy workflow's comments and
docs/runbook.mdfor the same claim, and fix any you find
Acceptance criteria:
- Someone following the README creates a token that deploys on the first try, with no extra scopes
Related: #63 (Deploy workflow), #103
Size: S
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 206
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openpickleball/backend
-
Show doctl's error when the Deploy workflow's update failsPossibly taken @GeoBradDev claimed this today. Openarea:infra bug priority:p2 size:S
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#471 ·
Maintainers usually reply within 1 day
-
area:infra documentation type:chore
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
openpickleball/backend#196 ·
Maintainers usually reply within 1 day
-
area:infra type:chore
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#195 ·
Maintainers usually reply within 1 day
-
area:api enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
openpickleball/backend#470 ·
Maintainers usually reply within 1 day
-
area:infra bug priority:p1 size:S
Difficulty 3/5 1-2 days Newbie friendliness 75/100
openpickleball/backend#468 ·
Maintainers usually reply within 1 day
All issues in openpickleball/backend
Similar issues
-
[Resource]: SpaicelyOpenresource-submission validation-passed
Difficulty 1/5 Under an hour Newbie friendliness 68/100
hesreallyhim/awesome-claude-code#3875 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
bvis/aegis-hass#725 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
datasektionen/cashflow#468 ·
-
dont call alembic upgrade until we check whether or not the cache DB has an alembic version stampOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.xPossibly taken @NimaVaziri claimed this today. OpenPytorch
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA/TensorRT-LLM#23406 ·
Maintainers usually reply within 1 day