Skip to content

Conversation

@gabmontes
Copy link
Contributor

Pull all the changes from https://github.com/bloq/actions/tree/7a00bde576f8383a7afabf48dc6153bd7a7daab7 to improve the workflows and actions here.

@gabmontes gabmontes self-assigned this Apr 30, 2025
@gabmontes gabmontes force-pushed the pull-from-bloq-actions branch from 11dcdfc to 7beb478 Compare April 30, 2025 01:07
@gabmontes gabmontes requested a review from gndelia April 30, 2025 01:08
@gabmontes gabmontes force-pushed the pull-from-bloq-actions branch from 7beb478 to 63592c8 Compare April 30, 2025 01:09
@gabmontes gabmontes marked this pull request as ready for review April 30, 2025 01:10
@gabmontes gabmontes requested review from a team and joshuasing as code owners April 30, 2025 01:10
@gabmontes gabmontes requested a review from gndelia April 30, 2025 13:34
gndelia
gndelia previously approved these changes May 8, 2025
@gabmontes gabmontes requested a review from jcvernaleo May 8, 2025 18:33
@gabmontes gabmontes enabled auto-merge (squash) May 23, 2025 15:52
That action does not exist in tag v1. Fixing the ref here allows using this action in the meantime.
@gabmontes gabmontes requested a review from gndelia June 23, 2025 19:53
steps:
- uses: actions/checkout@v4
- run: docker build --tag ${{ github.repository }}:${{ github.sha }} ${{ inputs.context }}
- uses: aquasecurity/trivy-action@0.29.0
Copy link
Contributor

@joshuasing joshuasing Jun 24, 2025

Choose a reason for hiding this comment

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

As this is a third-party action, not maintained by either GitHub or Docker, we should pin it to a commit hash in order to make it immutable.

Suggested change
- uses: aquasecurity/trivy-action@0.29.0
- uses: aquasecurity/trivy-action@76071ef0d7ec797419534a183b498b4d6366cf37 # 0.29.0

https://github.com/aquasecurity/trivy-action/releases/tag/0.31.0
aquasecurity/trivy-action@76071ef

In addition to being third-party, this is also a security scanning tool.

@@ -0,0 +1,46 @@
#!/bin/sh
Copy link
Contributor

Choose a reason for hiding this comment

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

This file is missing a copyright notice:

Suggested change
#!/bin/sh
#!/bin/sh
# Copyright (c) 2025 Hemi Labs, Inc.
# Use of this source code is governed by the MIT License,
# which can be found in the LICENSE file.

Copy link
Contributor

Choose a reason for hiding this comment

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

What do you think about moving this script to scripts/bump-version.sh - to keep it out of the way?
We will likely add additional scripts, so I think having a separate directory would be useful.

runs:
using: composite
steps:
- uses: slackapi/slack-github-action@v1
Copy link
Contributor

@joshuasing joshuasing Jun 24, 2025

Choose a reason for hiding this comment

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

As this is a third-party action, not maintained by either GitHub or Docker, we should pin it to a commit hash in order to make it immutable.

Also, the latest version of this action is v2.1.0 (https://github.com/slackapi/slack-github-action/releases/tag/v2.1.0) - are we able to update? There is a migration guide here: https://github.com/slackapi/slack-github-action/releases/tag/v2.0.0

Suggested change
- uses: slackapi/slack-github-action@v1
- uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1

https://github.com/slackapi/slack-github-action/releases/tag/v1.27.1
slackapi/slack-github-action@fcfb566

using: composite
steps:
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
- uses: pnpm/action-setup@v4.0.0
Copy link
Contributor

@joshuasing joshuasing Jun 24, 2025

Choose a reason for hiding this comment

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

As this is a third-party action, not maintained by either GitHub or Docker, we should pin it to a commit hash in order to make it immutable.

Also, a minor update is available: https://github.com/pnpm/action-setup/releases/tag/v4.1.0 (changes: pnpm/action-setup@v4.0.0...v4.1.0)

Suggested change
- uses: pnpm/action-setup@v4.0.0
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

https://github.com/pnpm/action-setup/releases/tag/v4.1.0
pnpm/action-setup@a7487c7

@joshuasing
Copy link
Contributor

There are a few files missing copyright notices. Could you please add:

# Copyright (c) 2025 Hemi Labs, Inc.
# Use of this source code is governed by the MIT License,
# which can be found in the LICENSE file.

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.

4 participants