DefangLabs / DefangLabs/samples

Sample approval workflow broken for forks

Open
#460 1 comment 0 reactions 0 assignees View on GitHub

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:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.