DefangLabs / DefangLabs/samples
Sample approval workflow broken for forks
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 12
- Forks
- 27
- Avg merge
- 3h 30m
- Merged PRs (30d)
- 36
Description
The samples checklist workflows cannot run properly on PRs created by pushes to forks.
For example, when I tried to make a PR for a Redis JS sample from my fork of the samples repo, all three workflows failed due to permission issues:
- Check Samples failure - Resource not accessible by integration
- Trigger Docs Samples Rebuild failure - Parameter token or opts.auth is required
- Deploy Changed Samples failure - failed to run tests : failed to create token issuer, failed to parse fixed verifier key: failed to parse private key
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start with the three failing workflow runs linked in the issue: Check Samples, Trigger Docs Samples Rebuild, and Deploy Changed Samples. Reproduce the workflows on a pull request from a fork and inspect each permission or token failure. Done means all three workflows run successfully for fork-created sample pull requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100