From 7f5db80feb77d8da29450cea5c8853be54174e81 Mon Sep 17 00:00:00 2001 From: Linar Yusupov Date: Mon, 11 Dec 2023 13:49:20 +0300 Subject: [PATCH 1/3] 3.0.0-alpha3 escaping fix (#8968) --- platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.txt b/platform.txt index 00dcde59e69..0ff2eae7395 100644 --- a/platform.txt +++ b/platform.txt @@ -147,7 +147,7 @@ recipe.hooks.prebuild.6.pattern.windows=cmd /c if not exist "{build.path}\build_ # Set -DARDUINO_CORE_BUILD only on core file compilation file_opts.path={build.path}/file_opts recipe.hooks.prebuild.set_core_build_flag.pattern=/usr/bin/env bash -c ": > '{file_opts.path}'" -recipe.hooks.core.prebuild.set_core_build_flag.pattern=/usr/bin/env bash -c "echo '-DARDUINO_CORE_BUILD' > '{file_opts.path}'" +recipe.hooks.core.prebuild.set_core_build_flag.pattern=/usr/bin/env bash -c "echo -DARDUINO_CORE_BUILD > '{file_opts.path}'" recipe.hooks.core.postbuild.set_core_build_flag.pattern=/usr/bin/env bash -c ": > '{file_opts.path}'" recipe.hooks.prebuild.set_core_build_flag.pattern.windows=cmd /c type nul > "{file_opts.path}" From 7cea268dee3b512631f2227cf920f6b5e244aa11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Barto=C5=A1ka?= <76958047+VojtechBartoska@users.noreply.github.com> Date: Mon, 11 Dec 2023 18:51:05 +0800 Subject: [PATCH 2/3] Adding Shared GitHub DangerJS (#8983) --- .github/workflows/dangerjs.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/dangerjs.yml diff --git a/.github/workflows/dangerjs.yml b/.github/workflows/dangerjs.yml new file mode 100644 index 00000000000..9f7360bc34f --- /dev/null +++ b/.github/workflows/dangerjs.yml @@ -0,0 +1,22 @@ +name: DangerJS Pull Request linter +on: + pull_request_target: + types: [opened, edited, reopened, synchronize] + +permissions: + pull-requests: write + contents: write + +jobs: + pull-request-style-linter: + runs-on: ubuntu-latest + steps: + - name: Check out PR head + uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} + + - name: DangerJS pull request linter + uses: espressif/shared-github-dangerjs@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 42ed9c03731007fba6ddce0d8b05f71e68d616d3 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Mon, 11 Dec 2023 08:02:35 -0300 Subject: [PATCH 3/3] Update reset_reason.rst (#8982) --- docs/source/api/reset_reason.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/api/reset_reason.rst b/docs/source/api/reset_reason.rst index 49bf9397797..813216909b0 100644 --- a/docs/source/api/reset_reason.rst +++ b/docs/source/api/reset_reason.rst @@ -15,5 +15,5 @@ To get started with Reset Reason, you can try: Reset Reason ************ -.. literalinclude:: ../../../libraries/ESP32/examples/ResetReason/ResetReason.ino - :language: arduino \ No newline at end of file +.. literalinclude:: ../../../libraries/ESP32/examples/ResetReason/ResetReason/ResetReason.ino + :language: arduino