Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch all history in the workflow create-draft-release-reusable #72

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

friedrichwilken
Copy link
Contributor

@friedrichwilken friedrichwilken commented Feb 7, 2024

Description

Calling create-draft-release-reusable returns:

Run # Note: your repository needs to have this script.
  # Note: your repository needs to have this script.
  # Running this script should result in a file named CHANGELOG.md, located in the base directory.
  ./hack/scripts/create_changelog.sh "${VERSION}"
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    VERSION: 0.7.0
    GH_TOKEN: 
fatal: No names found, cannot describe anything.
Error: Process completed with exit code 1[2](https://github.com/kyma-project/eventing-manager/actions/runs/7815286503/job/21318655219#step:3:2)[8](https://github.com/kyma-project/eventing-manager/actions/runs/7815286503/job/21318655219#step:3:8).

with the important part being: fatal: No names found, cannot describe anything.
This is an error from git describe; that cannot get all the history.

It looks like we need to fetch all the history: https://github.com/actions/checkout?tab=readme-ov-file#fetch-all-history-for-all-tags-and-branches.

Related issue(s)

@friedrichwilken friedrichwilken requested a review from a team as a code owner February 7, 2024 13:29
@kyma-bot kyma-bot added area/ci Issues or PRs related to CI related topics cla: yes Indicates the PR's author has signed the CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 7, 2024
@kyma-bot kyma-bot added the lgtm Looks good to me! label Feb 7, 2024
@kyma-bot kyma-bot merged commit 5c71398 into kyma-project:main Feb 7, 2024
5 checks passed
@friedrichwilken friedrichwilken linked an issue Feb 8, 2024 that may be closed by this pull request
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci Issues or PRs related to CI related topics cla: yes Indicates the PR's author has signed the CLA. lgtm Looks good to me! size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants