Skip to content

Commit

Permalink
Merge pull request #85 from centos-workstation/fix-changelog
Browse files Browse the repository at this point in the history
fix: cron rules for changelog + fix path to script
  • Loading branch information
castrojo authored Dec 27, 2024
2 parents a31286b + 444160f commit b544d7d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/generate-changelog-release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
on:
schedule:
- cron: '05 11 * * *' # 11:05am UTC everyday
workflow_call:
inputs:
stream_name:
description: "Release Tag (e.g. stream10, latest)"
type: string
required: true
default: "latest"
required: false
workflow_dispatch:
inputs:
handwritten:
description: "Small Changelog about changes in this build"
stream_name:
description: "Release Tag (e.g. gts, stable)"
required: true
required: false
default: '["latest"]'
type: choice
options:
- '["stream10"]'
Expand Down Expand Up @@ -40,7 +44,7 @@ jobs:
id: generate-release-text
shell: bash
run: |
python3 changelogs.py --workdir . "${{ matrix.version }}" ./output.env ./changelog.md --handwritten "${{ inputs.handwritten }}"
python3 .github/changelogs.py --workdir . "${{ matrix.version }}" ./output.env ./changelog.md --handwritten "${{ inputs.handwritten }}"
source ./output.env
echo "title=${TITLE}" >> $GITHUB_OUTPUT
echo "tag=${TAG}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit b544d7d

Please sign in to comment.