Repository navigation
ci: Fix lint-daggerized.yml error - #5244
Merged
Merged
Conversation
8 tasks done
wingyplus
force-pushed
the
daggerized-failure
branch
from
June 1, 2023 17:51
41c9b56 to
a58c594
Compare
Contributor
Author
|
The workflow is now working but still a failure for some reason. |
wingyplus
force-pushed
the
daggerized-failure
branch
from
June 1, 2023 18:02
2992e59 to
a58c594
Compare
Contributor
|
No worries, will review & merge when the check is passing. |
wingyplus
force-pushed
the
daggerized-failure
branch
from
June 13, 2023 15:55
a58c594 to
cf09445
Compare
Found from https://github.com/dagger/dagger/actions/runs/5147441125. The `uses` must have `./` to point to local action. And fixes 2 issues in the workflow: First, fix the daggerized job to use `${{ github.ref }}` instead of `${{ github.sha }}` when setting `DAGGER_PROJECT` because when using sha, the dagger didn't know the sha commit when sending a Pull Request from another repo. Second, fix the `dagger do` argument and passing `--repo` and `--branch` to the project. Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>
wingyplus
force-pushed
the
daggerized-failure
branch
from
June 13, 2023 17:17
6d863b7 to
32634f5
Compare
sipsma
approved these changes
Jun 13, 2023
sipsma
left a comment
Contributor
There was a problem hiding this comment.
Thank you so much for the fix here! For more context, this workflow is just my early experiment to switch all our CI to run w/ dagger entrypoints, but I missed in my original PR that it wasn't even running 🤦♂️. Appreciate you finding the problem with uses, I had no idea that was the syntax needed!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found from
https://github.com/dagger/dagger/actions/runs/5147441125. The
usesmust have
./to point to local action. And fixes 2 issues in theworkflow:
First, fix the daggerized job to use
${{ github.ref }}instead of${{ github.sha }}when settingDAGGER_PROJECTbecause when usingsha, the dagger didn't know the sha commit when sending a Pull Request
from another repo.
Second, fix the
dagger doargument and passing--repoand--branchto the project.