fix: use same date filter in the UI and CLI (#11840) #486
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Changelog | |
on: | |
push: | |
tags: | |
- v* | |
- "!v0.0.0" | |
permissions: | |
contents: read | |
jobs: | |
generate_changelog: | |
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 | |
if: github.repository == 'argoproj/argo-workflows' | |
runs-on: ubuntu-latest | |
name: Generate changelog | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: master | |
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@v5 | |
with: | |
title: 'docs: updated CHANGELOG.md' | |
commit-message: 'docs: updated CHANGELOG.md' | |
branch: create-pull-request/changelog | |
signoff: true |