Skip to content

test release

test release #1

Workflow file for this run

name: Changelog
# # Controls when the workflow will run
# on:
# # Run this workflow manually from the Actions tab
# workflow_dispatch:
on:
push:
tags:
- "v*.*"
permissions:
contents: 'write'
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Checkout action
run: git clone -b main "https://git:[email protected]/epmc-sec/cloudlab/cloud_custodian/ecc-actions.git" ecc-actions
env:
PROJECT_TOKEN: ${{ secrets.ECC_CHANGELOG_ACTION }}
- name: Changelog
id: changelog
uses: ./ecc-actions/changelog-action
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}
writeToFile: true
includeInvalidCommits: true
excludeTypes: ""
- name: Release
uses: softprops/action-gh-release@v2
with:
name: Release ${{ github.ref_name }}
body: ${{ steps.changelog.outputs.changes }}
# - name: Commit CHANGELOG.md
# uses: ./ecc-actions/git-auto-commit-action
# with:
# branch: changelog
# create_branch: true
# commit_message: 'skip: update CHANGELOG.md for ${{ github.ref_name }}'
# file_pattern: CHANGELOG.md
# reverseOrder: true
# excludeTypes: skip