Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use correct input #1008

Merged
merged 2 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions actions/stack/release-notes/entrypoint/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
_ "embed"
"encoding/json"
"flag"
"fmt"
"log"
"os"
"path/filepath"
Expand Down Expand Up @@ -245,6 +246,8 @@ func main() {
log.Fatalf("failed to execute release notes template: %s", err.Error())
}

fmt.Println(b.String())

releaseBodyFile, err := os.OpenFile(config.ReleaseBodyFile, os.O_RDWR|os.O_CREATE, 0666)
if err != nil {
log.Fatal(err)
Expand Down
2 changes: 1 addition & 1 deletion stack/.github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

on:
schedule:
- cron: '27 2,14 * * *' # daily at 02:27 and 14:27 UTC

Check warning on line 5 in stack/.github/workflows/create-release.yml

View workflow job for this annotation

GitHub Actions / lintYaml

5:27 [comments] too few spaces before comment
push:
branches:
- main
Expand Down Expand Up @@ -513,7 +513,7 @@
tag_name: v${{ steps.tag.outputs.tag }}
target_commitish: ${{ github.sha }}
name: v${{ steps.tag.outputs.tag }}
body_file: "/github/workspace/release-body.md"
body_filepath: "/github/workspace/release-body.md"
draft: false
assets: ${{ steps.assets.outputs.assets }}

Expand Down
Loading