Skip to content

chore: harden GHA workflows - #275

Merged
jeremylong merged 1 commit into
package-url:masterfrom
nscuro:zizmor
Aug 15, 2026
Merged

jeremylong merged 1 commit into
package-url:masterfrom
nscuro:zizmor

Conversation

@nscuro

@nscuro nscuro commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator
  • adds cooldown period of 7 days for Dependabot
  • bumps all 3rd party actions to their latest version and pins them by digest
  • disables persist-credentials option for actions/checkout
  • removes unnecessary permissions:
    • contents: read is implied for public repos
    • statuses: write is not required by amannn/action-semantic-pull-request
  • migrates semantic-pr.yml away from pull_request_target, pull_request does the intended job just fine
  • enforces timeouts across all jobs
  • adds zizmor job to detect regressions

* adds cooldown period of 7 days for Dependabot
* bumps all 3rd party actions to their latest version and pins them by digest
* disables `persist-credentials` option for `actions/checkout`
* removes unnecessary permissions:
  * `contents: read` is implied for public repos
  * `statuses: write` is not required by `amannn/action-semantic-pull-request`
* migrates `semantic-pr.yml` away from `pull_request_target`, `pull_request` does the intended job just fine
* enforces timeouts across all jobs
* adds zizmor job to detect regressions

Signed-off-by: nscuro <nscuro@protonmail.com>
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@jeremylong
jeremylong merged commit 952bc58 into package-url:master Aug 15, 2026
6 checks passed
@nscuro
nscuro deleted the zizmor branch August 15, 2026 15:59
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.

3 participants