renovate/lib/manager/github-actions
2021-07-19 07:38:16 +00:00
..
__fixtures__ feat(github-action): Support updating digest pinned actions (#10835) 2021-07-14 12:58:32 +02:00
__snapshots__ fix(github-action): do not remove paths (#10853) 2021-07-15 07:21:03 +02:00
extract.spec.ts feat(github-action): Support updating digest pinned actions (#10835) 2021-07-14 12:58:32 +02:00
extract.ts fix(github-action): do not remove paths (#10853) 2021-07-15 07:21:03 +02:00
index.ts fix(github-actions): do not assign docker language options (#10858) 2021-07-19 07:38:16 +00:00
readme.md docs: fix typos (#10857) 2021-07-15 09:38:39 +00:00

The github-actions manager extracts dependencies from GitHub Actions workflow and workflow template files.

If you like to use digest pinning but want to follow the action version tag, you can use the following sample:

name: build

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@af513c7a016048ae468971c52ed77d9562c7c819 # renovate: tag=v1.0.0

Renovate will update the commit SHA but follow the GitHub tag you specified. Renovate can update digests that use SHA1 and SHA256 algorithms.

If you want to automatically pin action digests add the helpers:pinGitHubActionDigests preset to the extends array:

{
  "extends": ["helpers:pinGitHubActionDigests"]
}