Skip to content

[improve](sec): step-security version update (#644) #616

[improve](sec): step-security version update (#644)

[improve](sec): step-security version update (#644) #616

name: release-please.yml – Automate releases with Conventional Commit Messages.
on:
push:
branches:
- main
permissions:
contents: read
pull-requests: read
jobs:
release-please:
runs-on: ubuntu-latest
steps:

Check failure on line 14 in .github/workflows/release-please.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-please.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3
with:
contents: write
pull-requests: write
# this assumes that you have created a personal access token
# (PAT) and configured it as a GitHub action secret named
# `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
token: ${{ secrets.GITHUB_TOKEN }}
# this is a built-in strategy in release-please, see "Action Inputs"
# for more options
release-type: simple