Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Ensure the generated changelog gets linted, fix backticks in log (#1193)
Madison Swain-Bowden5fdc96a9cd8d
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex 41d72c832..b6576cdf8 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -110,11 +110,9 @@ jobs:- name: Add new changelog file to documentationrun: |- cat << EOF > documentation/changelogs/${{ inputs.app }}/${{ steps.tag.outputs.date }}.md- # ${{ steps.tag.outputs.date }}-- ${{ steps.release-drafter.outputs.body }}- EOF+ file="documentation/changelogs/${{ inputs.app }}/${{ steps.tag.outputs.date }}.md"+ echo -e "# ${{ steps.tag.outputs.date }}\n\n" > "$file"+ echo -e '${{ steps.release-drafter.outputs.body }}' >> "$file"- name: Setup CI envuses: ./.github/actions/setup-env@@ -132,8 +130,11 @@ jobs:- name: Lint the changelog file so that it passes CIrun: |+ # Add the new changelog file to git so that pre-commit can lint it.+ git add documentation/changelogs/${{ inputs.app }}/${{ steps.tag.outputs.date }}.mdjust precommit- just lint+ # Ensure this step passes even if linting has made changes so the workflow can continue+ just lint || true- name: Open changelog PRuses: peter-evans/create-pull-request@v5