Sync Project with Milestones #3
sync-project-milestones.yml
on: schedule
get-project-id
3s
Annotations
1 error
|
get-project-id
Unhandled error: Error:
❌ Project #27 not found in organization 'oceanbase' or repository 'Ripcord55/action'.
This is likely a permissions issue. Solutions:
🔑 Option 1: Add Personal Access Token (Recommended)
1. Create a PAT with permissions: repo, read:org, write:org
2. Add it as repository secret named: PROJECT_ACCESS_TOKEN
3. The workflow will automatically use it
⚙️ Option 2: Enable enhanced permissions
1. Repository Settings > Actions > General
2. Select "Read and write permissions"
Note: May still not work for organization projects
✅ Option 3: Verify project exists
- Confirm project #27 exists in organization or repository
- Check if it's a Projects V2 (not legacy Projects)
|