Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
--token=env://GH_TOKEN \
--repo="${{ github.repository }}" \
check-pull-request \
--number "${{ github.event.pull_request.number }}"
--number "${{ github.event.pull_request.number }}" --cloud

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Fork PR checks cannot run

On pull requests from forks, GitHub does not provide DAGGER_CLOUD_TOKEN to this pull_request workflow. This command and the Linear check at line 61 now unconditionally request a cloud-provisioned engine, so they cannot authenticate to Dagger Cloud and fail instead of checking the PR. Keep a path that can run without the cloud secret.

Knowledge Base Used: Release build and integration checks

Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/pr.yaml
Line: 36

Comment:
**Fork PR checks cannot run**

On pull requests from forks, GitHub does not provide `DAGGER_CLOUD_TOKEN` to this `pull_request` workflow. This command and the Linear check at line 61 now unconditionally request a cloud-provisioned engine, so they cannot authenticate to Dagger Cloud and fail instead of checking the PR. Keep a path that can run without the cloud secret.

**Knowledge Base Used:** [Release build and integration checks](https://app.greptile.com/paper-compute/-/custom-context/knowledge-base/papercomputeco/stereosd/-/docs/release-build-and-integration.md)

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DAGGER_CLOUD_TOKEN: ${{ secrets.DAGGER_CLOUD_TOKEN }}
Expand All @@ -58,7 +58,7 @@ jobs:
--token=env://GH_TOKEN \
--repo="${{ github.repository }}" \
check-pull-request-linear-magic-word \
--number "${{ github.event.pull_request.number }}"
--number "${{ github.event.pull_request.number }}" --cloud
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DAGGER_CLOUD_TOKEN: ${{ secrets.DAGGER_CLOUD_TOKEN }}
Loading