Skip to content

Commit

Permalink
Disable changelog generator (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwiatekus authored Nov 28, 2023
1 parent f75bcee commit 0d531f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/scripts/create_draft_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ RELEASE_TAG=$1
REPOSITORY=${REPOSITORY:-kyma-project/serverless-manager}
GITHUB_URL=https://api.github.com/repos/${REPOSITORY}
GITHUB_AUTH_HEADER="Authorization: Bearer ${GITHUB_TOKEN}"
CHANGELOG_FILE=$(cat CHANGELOG.md)
# CHANGELOG_FILE=$(cat CHANGELOG.md)
CHANGELOG_FILE=" "

JSON_PAYLOAD=$(jq -n \
--arg tag_name "$RELEASE_TAG" \
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ jobs:
with:
fetch-depth: 0

- name: Create changelog
uses: addnab/docker-run-action@3b7e5e2681a0bda95ee4ce0645c28ca1e78ce9ee
with:
image: githubchangeloggenerator/github-changelog-generator
options: -v ${{ github.workspace }}:/usr/local/src/your-app
run: github_changelog_generator -u kyma-project -p serverless -t ${{ secrets.GITHUB_TOKEN }} --enhancement-labels kind/feature,area/ci --bug-labels kind/bug --future-release ${{ github.event.inputs.name }} --unreleased-only --no-author
# - name: Create changelog
# uses: addnab/docker-run-action@3b7e5e2681a0bda95ee4ce0645c28ca1e78ce9ee
# with:
# image: githubchangeloggenerator/github-changelog-generator
# options: -v ${{ github.workspace }}:/usr/local/src/your-app
# run: github_changelog_generator -u kyma-project -p serverless -t ${{ secrets.GITHUB_TOKEN }} --enhancement-labels kind/feature,area/ci --bug-labels kind/bug --future-release ${{ github.event.inputs.name }} --unreleased-only --no-author

- name: Create draft release
id: create-draft
Expand Down

0 comments on commit 0d531f7

Please sign in to comment.