mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 20:57:23 +01:00
fix changelogbot once and for all
This commit is contained in:
@@ -37,6 +37,6 @@ jobs:
|
||||
html/changelogs_ch
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: Automatic changelog generation for ${{ github.events.pull_request.number }}
|
||||
branch: ${{ github.events.pull_request.base }}
|
||||
commit_message: Automatic changelog generation for ${{ github.event.pull_request.number }}
|
||||
branch: ${{ github.event.pull_request.base }}
|
||||
commit_user_name: Autochangelog Bot
|
||||
|
||||
@@ -111,6 +111,8 @@ for fileName in glob.glob(os.path.join(args.ymlDir, "*.yml")):
|
||||
if name == 'example': continue
|
||||
fileName = os.path.abspath(fileName)
|
||||
formattedDate = today.strftime(fileDateFormat)
|
||||
if not os.path.exists(archiveDir):
|
||||
os.makedirs(archiveDir)
|
||||
monthFile = os.path.join(archiveDir, formattedDate + '.yml')
|
||||
print(' Reading {}...'.format(fileName))
|
||||
cl = {}
|
||||
|
||||
Reference in New Issue
Block a user