diff --git a/.github/workflows/nfr.yml b/.github/workflows/nfr.yml index ce703b406e..1a4e454b1c 100644 --- a/.github/workflows/nfr.yml +++ b/.github/workflows/nfr.yml @@ -159,6 +159,7 @@ jobs: uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 with: path: tests/results/ + merge-multiple: true - name: Open a PR with the results uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0 diff --git a/tests/framework/results.go b/tests/framework/results.go index 87d363b080..f24bcf4223 100644 --- a/tests/framework/results.go +++ b/tests/framework/results.go @@ -25,7 +25,7 @@ func CreateResultsDir(testName, version string) (string, error) { // CreateResultsFile creates and returns the results file for a test. func CreateResultsFile(filename string) (*os.File, error) { - outFile, err := os.OpenFile(filename, os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0o777) + outFile, err := os.OpenFile(filename, os.O_TRUNC|os.O_WRONLY|os.O_CREATE, 0o644) if err != nil { return nil, err }