Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directly use the checked out action #69

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

avdv
Copy link
Contributor

@avdv avdv commented Dec 10, 2024

Note, this is based on #68

Checking out a copy of this action on every run with a fixed revision (by default) is surprising and makes it difficult to pin actions properly since the action itself will by default always checkout v1 again -- one would have to duplicate the revision / version on the use site to be safe.

I tested using the action from this PR here: tweag/gazelle_cabal#129 (action run: https://github.com/tweag/gazelle_cabal/actions/runs/12257035146/job/34195222238?pr=129)

Checking out a copy of this action with a fixed revision is surprising and makes it difficult to
pin actions properly since the action itself will by default always checkout `v1` again.

One would have to duplicate the revision / version on the use site to be safe.
@avdv avdv force-pushed the cb/no-duplicate-checkout branch from 8d07b7d to 1395fc0 Compare December 10, 2024 14:31
@cgrindel cgrindel merged commit 8a9736c into cgrindel:main Dec 10, 2024
3 checks passed
@cgrindel
Copy link
Owner

I just created release 1.4.0 with this fix. Thank you!

@avdv
Copy link
Contributor Author

avdv commented Dec 10, 2024

I just created release 1.4.0 with this fix. Thank you!

Thank you, Chuck!

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.

2 participants