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

chore(gha): pin versions to hashes #2849

Merged
merged 2 commits into from Oct 3, 2023

Conversation

LucaGuerra
Copy link
Contributor

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind cleanup

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area CI

What this PR does / why we need it:

We have started pinning some GitHub actions to their hash, especially the ones that were based on master. We should pin all of them. In order to limit potential breakage I have left out the actions that need a major version upgrade (except for checkout) so we can handle them in a subsequent PR.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

Signed-off-by: Luca Guerra <luca@guerra.sh>
Andreagit97
Andreagit97 previously approved these changes Oct 2, 2023
Copy link
Member

@Andreagit97 Andreagit97 left a comment

Choose a reason for hiding this comment

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

/approve

@poiana
Copy link

poiana commented Oct 2, 2023

LGTM label has been added.

Git tree hash: fc7543adff61e825eb66887a5857cd1dcb426fba

@Andreagit97 Andreagit97 added this to the 0.37.0 milestone Oct 2, 2023
@Andreagit97 Andreagit97 self-requested a review October 2, 2023 08:05
@LucaGuerra
Copy link
Contributor Author

Seems like one upgrade is failing. I'm checking it.

Signed-off-by: Luca Guerra <luca@guerra.sh>
@@ -53,10 +53,11 @@ jobs:
yum install -y wget git make m4 rpm-build perl-IPC-Cmd

- name: Checkout
uses: actions/checkout@v3
# It is not possible to upgrade the checkout action to versions >= v4.0.0 because of incompatibilities with centos 7's libc.
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the sad downgrade (actually non-upgrade) we have to do to be compatible with centos 7. I think it's ok.

Copy link
Contributor

@FedeDP FedeDP left a comment

Choose a reason for hiding this comment

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

/approve

@poiana
Copy link

poiana commented Oct 2, 2023

LGTM label has been added.

Git tree hash: efb380304807b26d6e0f501a362fb5d8b5f9697f

@poiana
Copy link

poiana commented Oct 3, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Andreagit97, FedeDP, leogr, LucaGuerra

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:
  • OWNERS [Andreagit97,FedeDP,LucaGuerra,leogr]

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

@poiana poiana merged commit f1dec8f into falcosecurity:master Oct 3, 2023
17 checks passed
@LucaGuerra LucaGuerra deleted the chore/pin-gha-hashes branch October 3, 2023 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

5 participants