From 673ad6d42b2048d3e4fb89137480f6698a5e6e9a Mon Sep 17 00:00:00 2001 From: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com> Date: Sat, 10 Feb 2024 13:26:24 +0100 Subject: [PATCH 1/3] Update Taskfile.yml --- Taskfile.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/Taskfile.yml b/Taskfile.yml index ed3f47d015b4..74fd6bbcf455 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -15,6 +15,7 @@ env: SMTP_PORT: 1025 SMTP_FROM_NAME: MealieDev SMTP_AUTH_STRATEGY: NONE + SMTP_FROM_EMAIL: mealie@example.com LANG: en-US # loads .env file if it exists From 0dc85844854ec335f0409ec753022388f856f72d Mon Sep 17 00:00:00 2001 From: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com> Date: Sat, 10 Feb 2024 13:30:02 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=E2=86=95=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Taskfile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Taskfile.yml b/Taskfile.yml index 74fd6bbcf455..2166b361e392 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -14,8 +14,8 @@ env: SMTP_HOST: localhost SMTP_PORT: 1025 SMTP_FROM_NAME: MealieDev - SMTP_AUTH_STRATEGY: NONE SMTP_FROM_EMAIL: mealie@example.com + SMTP_AUTH_STRATEGY: NONE LANG: en-US # loads .env file if it exists From a43fd6b7fcb011d3362ebbf8ecfaf2dc41449467 Mon Sep 17 00:00:00 2001 From: boc-the-git <3479092+boc-the-git@users.noreply.github.com> Date: Sun, 11 Feb 2024 09:18:18 +1100 Subject: [PATCH 3/3] fix: Change release workflow to create a PR, rather than commit directly to branch (#3143) * fix: Change release workflow to create a PR, rather than commit directly to branch * Slight wording tweak Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com> --------- Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com> --- .github/workflows/release.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 91661227fbf1..8417fff333b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,6 +51,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: write + pull-requests: write steps: - name: Checkout 🛎 uses: actions/checkout@v4 @@ -60,11 +61,12 @@ jobs: sed -i 's/:v[0-9]*.[0-9]*.[0-9]*/:${{ github.event.release.tag_name }}/' docs/docs/documentation/getting-started/installation/sqlite.md sed -i 's/:v[0-9]*.[0-9]*.[0-9]*/:${{ github.event.release.tag_name }}/' docs/docs/documentation/getting-started/installation/postgres.md - - name: Commit updates - uses: test-room-7/action-update-file@v1 + - name: Create Pull Request + uses: peter-evans/create-pull-request@v6 with: - file-path: | - docs/docs/documentation/getting-started/installation/sqlite.md - docs/docs/documentation/getting-started/installation/postgres.md - commit-msg: "Change image tag, for release ${{ github.event.release.tag_name }}" - github-token: ${{ secrets.GITHUB_TOKEN }} + commit-message: "Update image tag, for release ${{ github.event.release.tag_name }}" + branch: "docs/newrelease-update-version-${{ github.event.release.tag_name }}" + delete-branch: true + base: mealie-next + title: "docs(auto): Update image tag, for release ${{ github.event.release.tag_name }}" + body: "Auto-generated by `.github/workflows/release.yml`, on publish of release ${{ github.event.release.tag_name }}"