This repository uses GitHub Actions that reference themselves via version tags (e.g., @v5.36.0). GitHub Actions require:
- Tags - to resolve action references like
plengauer/opentelemetry-github/actions/instrument/job@v5.36.0 - Releases - to download packages (
.deb,.rpm,.apk) attached as release assets
When you fork, GitHub copies the code but not the tags or releases. Without these, workflows fail because they cannot resolve action references or download packages.
Create a Personal Access Token (PAT) with these scopes:
repo- Full control of private repositoriesworkflow- Update GitHub Action workflowswrite:packages- Upload packages to GitHub Package Registrydelete:packages- Delete packages from GitHub Package Registry
-
Fork the repository via GitHub's UI
-
Add the PAT as a repository secret:
- Go to your fork → Settings → Secrets and variables → Actions
- Create a new secret named
ACTIONS_GITHUB_TOKEN - Paste your PAT as the value
-
Run the "Initialize Fork" workflow:
- Go to Actions tab in your fork
- Find "Initialize Fork" in the workflow list
- Click "Run workflow" → "Run workflow"
- Validates that
ACTIONS_GITHUB_TOKENsecret exists - Enables all workflows (forks have workflows disabled by default)
- Creates a version tag (e.g.,
v5.36.0) from the currentVERSIONfile - Pushes the tag, which triggers the publish workflow
The publish workflow then:
- Runs the full test suite
- Builds packages for all platforms/architectures
- Creates a GitHub Release with
.deb,.rpm, and.apkpackages attached - Publishes container images to GitHub Container Registry
This process takes 15-60 minutes depending on GitHub runner availability.
Once the release is published, your fork is fully functional:
- Workflows can reference actions from your fork
- Users can install packages from your releases
- Container images are available from your GitHub Container Registry
To keep your fork updated, sync with upstream. When the VERSION file changes, the publish workflow runs automatically.