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

Unable to Pin Specific Minor Version of Evergreen Action in GitHub Workflow #221

Open
gbrindisi opened this issue Sep 10, 2024 · 2 comments
Labels
bug Something isn't working keep do not mark as stale

Comments

@gbrindisi
Copy link
Contributor

Describe the bug

There seems to be an inconsistency in how GitHub Actions is handling the use of specific minor versions of the Evergreen action. When specifying a minor version (e.g., github/[email protected]), the workflow appears to still pull the latest major version (v1), ignoring the specified minor version.

From @zkoppert :

oh darn. This might be because when you specify the action at v1.12.0 it goes to the code at that point and determines which package to pull. See here the v1.12.0 of the code that specifies the package: https://github.com/github/evergreen/blob/v1.12.0/action.yml#L7

To Reproduce

- id: run-evergreen
  name: Run evergreen action
  uses: github/[email protected]

From the logs:

Download action repository 'github/[email protected]' (SHA:8d2d4117eadbbfa4c33828364cc4c88fea908192)
...
Pull down action image 'ghcr.io/github/evergreen:v1'

Expected behavior

It should retrieve the specific minor version

Screenshots

No response

Additional context

More context: #213

@gbrindisi gbrindisi added the bug Something isn't working label Sep 10, 2024
@zkoppert
Copy link
Member

Here is a temporary work around for this issue:

jobs:
  my_first_job:
    steps:
      - name: My first step
        uses: docker://ghcr.io/github/evergreen:v1.12.0

Copy link

This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@github-actions github-actions bot added the Stale label Oct 12, 2024
@zkoppert zkoppert added keep do not mark as stale and removed Stale labels Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working keep do not mark as stale
Projects
None yet
Development

No branches or pull requests

2 participants