/pinact-action

GitHub Actions to pin GitHub Actions by pinact

MIT LicenseMIT

pinact-action

GitHub Actions to pin GitHub Actions and reusable workflows by pinact.

This action fixes files and pushes a commit to a remote branch.

image

image

If you don't want to push a commit, this action can also only validate files. In this case, if actions aren't pinned CI fails.

image

Requirements

Install these tools

This action uses GitHub Access Token too.

The following permissions may be needed.

  • pull-requests: write: To push a commit to a remote branch
  • contents: read: To access private actions
  • workflows: write: To update GitHub Action workflow files

Usage

- uses: suzuki-shunsuke/pinact-action@a60b07ee63e41654915780a3297ff9f5f6b6db63 # v0.1.0
  with:
    github_token: ${{secrets.PAT}}
- uses: suzuki-shunsuke/pinact-action@a60b07ee63e41654915780a3297ff9f5f6b6db63 # v0.1.0
  with:
    skip_push: false

LICENSE

MIT