Skip to content

CHANGELOG.md cannot be overwritten in quite mode #186

@Hbinfinity

Description

@Hbinfinity

Getting the following error on Github actions, realised I had multiple custom Github actions defined (in separate files) which I was using in multiple Github workflows and all these actions had the databricks/setup-cli@main step common in them. If I used more than one actions in the same job in a Github workflow, I'd get the following error. I had to remove the databricks/setup-cli@main step from the actions I am planning to call later so it doesn't happen again in the same job in a Github workflow. This is ofcourse a valid workaround but it leaves my individual defined actions not complete in themselves - which means I can't have the complete freedom of which of my actions to use when.

Image


---------Error Log in Text----------

Run databricks/setup-cli@main
with:
env:
pythonLocation: /opt/hostedtoolcache/Python/3.13.5/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.13.5/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.5/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.5/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.5/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.13.5/x64/lib
Run bash $GITHUB_ACTION_PATH/setup_release.sh
bash $GITHUB_ACTION_PATH/setup_release.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.13.5/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.13.5/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.5/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.5/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.5/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.13.5/x64/lib
VERSION:
replace .bin/CHANGELOG.md? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL
(EOF or read error, treating as "[N]one" ...)
Error: Process completed with exit code 1.

Suggestion / fix

Change the following line

unzip -q "${FILE}.zip" -d .bin

to

# Unzip release archive (force overwrite existing files).
unzip -oq "${FILE}.zip" -d .bin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions