Reproduction for Renovate issue 12260.
Renovate removes comments from jobs.jobname.steps.uses
, even when commit hash pinning is disabled.
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1 # Comment that Renovate bot will remove later on
- name: Run a one-line script
run: echo Hello, world!
If commit hash pinning is disabled, then Renovate keeps the original comment.
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1 # Renovate keeps comment if commit hash pinning disabled
- name: Run a one-line script
run: echo Hello, world!
If commit hash pinning is enabled, then Renovate puts the tag right behind the action name, and moves the original comment further down the line.
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1e204e9a9253d643386038d443f96446fa156a97 # renovate: tag=v2.3.5 # Comment that Renovate bot has moved
- name: Run a one-line script
run: echo Hello, world!