diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7bef6d3..aa7ffcf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,9 +16,6 @@ jobs: runs-on: ubuntu-latest - permissions: - issues: write - steps: - name: Checkout repo uses: actions/checkout@v5 @@ -39,5 +36,4 @@ jobs: idf_target: ${{ env.IDF_TARGET }} idf_version: ${{ env.IDF_VERSION }} idf_component_manager: ${{ env.IDF_COMPONENT_MANAGER }} - base_ref: ${{ github.event.pull_request.base.sha }} flash_total_override: ${{ env.FLASH_TOTAL_OVERRIDE }} diff --git a/.github/workflows/package_main.yml b/.github/workflows/package_main.yml index 60a83b3..5d8ac62 100644 --- a/.github/workflows/package_main.yml +++ b/.github/workflows/package_main.yml @@ -71,31 +71,16 @@ jobs: build/flasher_args.json build/flash_args - - name: Determine base ref - if: ${{ github.event.release && github.event.action == 'published' }} - id: base - shell: bash - run: | - set -euo pipefail - # use the previous tag chronologically - prev=$(git tag --sort=-creatordate | sed -n '2p') - if [ -z "$prev" ]; then prev=$(git tag --sort=-v:refname | sed -n '2p'); fi - echo "ref=$prev" >> "$GITHUB_OUTPUT" - - name: Determine Size Delta if: ${{ github.event.release && github.event.action == 'published' }} uses: esp-cpp/esp-idf-size-delta@v1 with: app_name: ${{ env.APP_NAME }} app_path: "." - head_name: "${{ github.event.release.tag_name }}" - base_name: "${{ steps.base.outputs.ref }}" idf_target: ${{ env.IDF_TARGET }} idf_version: ${{ env.IDF_VERSION }} idf_component_manager: ${{ env.IDF_COMPONENT_MANAGER }} - base_ref: ${{ steps.base.outputs.ref }} flash_total_override: ${{ env.FLASH_TOTAL_OVERRIDE }} - post_comment: 'false' package: name: Package the binaries into an executables for Windows, MacOS, and Linux (Ubuntu) diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index 4d442d6..05a4260 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -11,9 +11,6 @@ jobs: static_analysis: runs-on: ubuntu-latest - permissions: - issues: write - steps: - name: Checkout repo uses: actions/checkout@v5