Skip to content

Pin third party actions #3981

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

Merged
merged 9 commits into from
Apr 17, 2025
Merged

Pin third party actions #3981

merged 9 commits into from
Apr 17, 2025

Conversation

nikola-jokic
Copy link
Collaborator

@nikola-jokic nikola-jokic commented Mar 21, 2025

String Formatting:

  • Standardized the use of double quotes for strings in multiple workflow files to ensure consistency. (.github/actions/setup-arc-e2e/action.yaml, [1]; .github/workflows/arc-publish-chart.yaml, [2]; .github/workflows/arc-validate-chart.yaml, [3]; .github/workflows/arc-validate-runners.yaml, [4]; .github/workflows/gha-publish-chart.yaml, [5]; .github/workflows/gha-validate-chart.yaml, [6]; .github/workflows/global-publish-canary.yaml, [7]; .github/workflows/go.yaml, [8]

Action Version Updates:

  • Updated the versions of various Docker actions to specific commit SHAs for better reliability and reproducibility. (.github/actions/setup-arc-e2e/action.yaml, [1] [2]; .github/workflows/arc-publish-chart.yaml, [3] [4] [5]; .github/workflows/arc-validate-chart.yaml, [6] [7]; .github/workflows/gha-publish-chart.yaml, [8] [9]; .github/workflows/gha-validate-chart.yaml, [10] [11] [12]; .github/workflows/global-publish-canary.yaml, [13] [14]

These changes improve the consistency and reliability of the CI/CD workflows by ensuring uniform string formatting and pinning action versions to specific commits.

value: ${{steps.config-token.outputs.token}}

runs:
using: "composite"
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2
Copy link
Member

@Link- Link- Mar 24, 2025

Choose a reason for hiding this comment

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

Thinking out loud, it's going to be nightmare upgrading these later if we don't know to which version they point to exactly.

How do you feel about adding a comment above each one to reference the version that the SHA points to?

@nikola-jokic nikola-jokic merged commit a33d34a into master Apr 17, 2025
21 of 22 checks passed
@nikola-jokic nikola-jokic deleted the nikola-jokic/pin-workflows branch April 17, 2025 10:19
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