Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.67 KB

File metadata and controls

49 lines (31 loc) · 1.67 KB

🛠️ is-empty

Outputs whether automated releases should be skipped since the changelog is empty.

Example Usage

Example checking if changelog.yaml is empty and accessing the output in next step:

- name: Check if the release is not needed
  id: empty
  uses: newrelic/release-toolkit/is-empty@v1
- run: |
    if [[ "${{ steps.empty.outputs.is-empty }}" == "true" ]]; then
      echo "Release are empty, skipping weekly release" >&2
      exit 1
    fi

Parameters

All parameters are optional and match the ones used for the cli command flag.

Outputs

is-empty: Returns true if next release should not be created since there are no changes.

Contributing

Standard policy and procedure across the New Relic GitHub organization.

Useful Links

Support

New Relic has open-sourced this project. This project is provided AS-IS WITHOUT WARRANTY OR DEDICATED SUPPORT. Issues and contributions should be reported to the project here on GitHub.

We encourage you to bring your experiences and questions to the Explorers Hub where our community members collaborate on solutions and new ideas.

License

release-toolkit is licensed under the Apache 2.0 License.

Disclaimer

This tool is provided by New Relic AS IS, without warranty of any kind. New Relic does not guarantee that the tool will: not cause any disruption to services or systems; provide results that are complete or 100% accurate; correct or cure any detected vulnerability; or provide specific remediation advice.