diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..574b92c --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @Attest/audience-accounts \ No newline at end of file diff --git a/src/promtool_check.sh b/src/promtool_check.sh index fb75264..ad318de 100755 --- a/src/promtool_check.sh +++ b/src/promtool_check.sh @@ -43,6 +43,10 @@ ${check_output} echo "${check_payload}" | curl -s -S -H "Authorization: token ${GITHUB_ACCESS_TOKEN}" --header "Content-Type: application/json" --data @- "${check_comment_url}" > /dev/null fi - echo ::set-output name=promtool_output::${check_output} + # Updated to new GITHUB_OUTPUT format https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ + # Modified to support multi-line output https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings + echo "promtool_output<> "$GITHUB_OUTPUT" + echo "${check_output}" >> "$GITHUB_OUTPUT" + echo "EOF" >> "$GITHUB_OUTPUT" exit ${check_exit_code} } \ No newline at end of file