Skip to content

Commit

Permalink
test release
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-shcherbak committed Apr 17, 2024
1 parent 36ef2f5 commit 8076aec
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 201 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/changelog.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,35 @@ jobs:
cat .green_failed
test -s .green_failed && exit 1
exit 0
build:
name: Create Release
runs-on: ubuntu-latest
needs: [test_policy_red_flights, test_policy_green_flights]
if: startsWith(github.ref, 'refs/tags/v')
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 }}
Loading

0 comments on commit 8076aec

Please sign in to comment.