Skip to content

Merge pull request #347 from codefresh-io/sec-vuln-sync #31

Merge pull request #347 from codefresh-io/sec-vuln-sync

Merge pull request #347 from codefresh-io/sec-vuln-sync #31

Workflow file for this run

name: Changelog
on:
push:
tags:
- v*
- "!v0.0.0"
permissions:
contents: read
jobs:
generate_changelog:
name: Generate changelog
if: github.repository == 'argoproj/argo-workflows'
permissions:
contents: write # for peter-evans/create-pull-request to create branch
pull-requests: write # for peter-evans/create-pull-request to create a PR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ref: main
fetch-depth: 0
- run: git fetch --prune --prune-tags
- run: git tag -l 'v*'
# avoid invoking `make` to reduce the risk of a Makefile bug failing this workflow
- run: ./hack/changelog.sh > CHANGELOG.md
- uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2
with:
title: 'docs: updated CHANGELOG.md'
commit-message: 'docs: updated CHANGELOG.md'
branch: create-pull-request/changelog
signoff: true