Skip to content

ci: skip CLA checks in forks#10

Open
Naohiro2g wants to merge 1 commit into
scratchfoundation:mainfrom
Naohiro2g:agent/skip-cla-in-forks
Open

ci: skip CLA checks in forks#10
Naohiro2g wants to merge 1 commit into
scratchfoundation:mainfrom
Naohiro2g:agent/skip-cla-in-forks

Conversation

@Naohiro2g

Copy link
Copy Markdown

Summary

  • skip the Signature Assistant job when the workflow is running in a fork
  • preserve CLA checks for pull requests targeting Scratch Foundation repositories

Why

Forks do not receive the GHA_AGREEMENTS_PAT repository secret. When a pull request targets a fork itself, the copied workflow therefore attempts to run without the token required to write signatures to scratchfoundation/scratch-agreements and fails with a configuration error.

For pull requests targeting an upstream Scratch Foundation repository, github.event.repository is the upstream repository, so the CLA check continues to run unchanged.

Validation

  • parsed .github/workflows/signature-assistant.yml with the yaml Node package
  • ran git diff --check

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@Naohiro2g

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@Naohiro2g
Naohiro2g marked this pull request as ready for review July 20, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant