autosuite / autolog

GitHub Action that automatically creates and stages a CHANGELOG.md file, preserving human-made changes.
Apache License 2.0
2 stars 0 forks source link

Handle missing initial CHANGELOG.md #13

Closed paced closed 4 years ago

paced commented 4 years ago

The Problem

Repositories often don't default to having a CHANGELOG.md file which is required by this script.

Reproduction

Just create a new repo and try to run Autologger.

Expected Output

No errors should appear if `CHANGELOG.md`` does not exist, and it should be handled in an "elegant" way.

The easy way around this is just to touch the file just before we're about to read it for the first time.

Environment

N/A.

paced commented 4 years ago

Resolved in master.