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

Pin version for all actions via SHA rather than floating tag #1220

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

amisevsk
Copy link
Collaborator

What does this PR do?

  • Pin all actions used in workflows to the current latest bugfix release within their major version (e.g. v3 -> [hash for] v3.6.1)
  • Update all instances of docker/build-push-action to use latest v4 release instead of a mix of v3 and v4
  • Remove mattermost message steps from release job, as mattermost is gone now.

Note: in most cases, there's a new major version for our actions (usually around switching from Node 16 -> 20. This PR does not switch major versions (except for some instances of docker/build-push-action) to avoid any risk of breaking anything -- ideally these are the exact same versions of each action we're using right now.

What issues does this PR fix or reference?

N/A

Is it tested? How?

N/A

PR Checklist

  • E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)
    • v8-devworkspace-operator-e2e: DevWorkspace e2e test
    • v8-che-happy-path: Happy path for verification integration with Che

.github/workflows/release.yml Fixed Show resolved Hide resolved
Copy link
Collaborator

@AObuchow AObuchow left a comment

Choose a reason for hiding this comment

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

Minor comment but LGTM

.github/workflows/release.yml Fixed Show resolved Hide resolved
Copy link

openshift-ci bot commented Jan 15, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: amisevsk, AObuchow

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

* Pin all actions used in workflows to the current latest bugfix release
  within their major version (e.g. v3 -> [hash for] v3.6.1)
* Update all instances of docker/build-push-action to use latest v4
  release instead of a mix of v3 and v4
* Remove mattermost message steps from release job, as mattermost is
  gone now.

Signed-off-by: Angel Misevski <[email protected]>
Copy link

openshift-ci bot commented Jan 16, 2024

New changes are detected. LGTM label has been removed.

@AObuchow
Copy link
Collaborator

/retest

Copy link

codecov bot commented Jan 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8125d08) 52.74% compared to head (843e514) 52.70%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1220      +/-   ##
==========================================
- Coverage   52.74%   52.70%   -0.04%     
==========================================
  Files          84       84              
  Lines        7616     7616              
==========================================
- Hits         4017     4014       -3     
- Misses       3310     3312       +2     
- Partials      289      290       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@amisevsk amisevsk merged commit f030ebe into devfile:main Jan 17, 2024
9 of 10 checks passed
@amisevsk amisevsk deleted the pin-action-sha branch January 17, 2024 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants