From 21411222e4ebf7709ed5147704c643f906d025fc Mon Sep 17 00:00:00 2001 From: Victor Ferrer Date: Sat, 18 Dec 2021 11:42:20 +0100 Subject: [PATCH] Update workflows --- .github/workflows/android.yaml | 5 +++-- .github/workflows/bloat_check.yaml | 2 +- .github/workflows/build.yaml | 16 ++++++++-------- .github/workflows/cirque.yaml | 4 ++-- .github/workflows/darwin.yaml | 6 +++--- .github/workflows/doxygen.yaml | 8 ++++---- .github/workflows/examples-ameba.yaml | 5 +++-- .github/workflows/examples-efr32.yaml | 5 +++-- .github/workflows/examples-esp32.yaml | 7 ++++--- .github/workflows/examples-infineon.yaml | 4 ++-- .github/workflows/examples-k32w.yaml | 5 +++-- .github/workflows/examples-linux-arm.yaml | 5 +++-- .github/workflows/examples-linux-standalone.yaml | 5 +++-- .github/workflows/examples-mbed.yaml | 4 ++-- .github/workflows/examples-nrfconnect.yaml | 5 +++-- .github/workflows/examples-qpg.yaml | 5 +++-- .github/workflows/examples-telink.yaml | 5 +++-- .github/workflows/examples-tizen.yaml | 5 +++-- .github/workflows/qemu.yaml | 5 +++-- .github/workflows/release_artifacts.yaml | 4 ++-- .github/workflows/unit_integration_test.yaml | 4 ++-- .github/workflows/zap_templates.yaml | 5 +++-- 22 files changed, 66 insertions(+), 53 deletions(-) diff --git a/.github/workflows/android.yaml b/.github/workflows/android.yaml index 9370f617b819d5..ebef1bfa86686b 100644 --- a/.github/workflows/android.yaml +++ b/.github/workflows/android.yaml @@ -15,8 +15,9 @@ name: Android on: - push: - pull_request: + workflow_dispatch: + #push: + #pull_request: concurrency: group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }} diff --git a/.github/workflows/bloat_check.yaml b/.github/workflows/bloat_check.yaml index 40e0d5355a65a2..c09be8a7e63662 100644 --- a/.github/workflows/bloat_check.yaml +++ b/.github/workflows/bloat_check.yaml @@ -46,5 +46,5 @@ jobs: --github-limit-artifact-pages 50 \ --github-limit-artifacts 500 \ --github-limit-comments 20 \ - --github-repository project-chip/connectedhomeip \ + --github-repository vicfergar/connectedhomeip \ --github-api-token "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9fc60797f9e97e..da4bff05f59391 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -15,8 +15,8 @@ name: Builds on: - push: - pull_request: + #push: + #pull_request: workflow_dispatch: concurrency: @@ -72,8 +72,8 @@ jobs: - name: Run Tests timeout-minutes: 2 run: scripts/tests/gn_tests.sh - # TODO Log Upload https://github.com/project-chip/connectedhomeip/issues/2227 - # TODO https://github.com/project-chip/connectedhomeip/issues/1512 + # TODO Log Upload https://github.com/vicfergar/connectedhomeip/issues/2227 + # TODO https://github.com/vicfergar/connectedhomeip/issues/1512 # - name: Run Code Coverage # if: ${{ contains('main', env.BUILD_TYPE) }} # run: scripts/tools/codecoverage.sh @@ -179,8 +179,8 @@ jobs: ./scripts/run_in_build_env.sh \ "./scripts/build/build_examples.py --no-log-timestamps --target linux-fake-tests build" - # TODO Log Upload https://github.com/project-chip/connectedhomeip/issues/2227 - # TODO https://github.com/project-chip/connectedhomeip/issues/1512 + # TODO Log Upload https://github.com/vicfergar/connectedhomeip/issues/2227 + # TODO https://github.com/vicfergar/connectedhomeip/issues/1512 # - name: Run Code Coverage # if: ${{ contains('main', env.BUILD_TYPE) }} # run: scripts/tools/codecoverage.sh @@ -303,8 +303,8 @@ jobs: with: name: crash-log-darwin path: ~/Library/Logs/DiagnosticReports/ - # TODO Log Upload https://github.com/project-chip/connectedhomeip/issues/2227 - # TODO https://github.com/project-chip/connectedhomeip/issues/1512 + # TODO Log Upload https://github.com/vicfergar/connectedhomeip/issues/2227 + # TODO https://github.com/vicfergar/connectedhomeip/issues/1512 # - name: Run Code Coverage # if: ${{ contains('main', env.BUILD_TYPE) }} # run: scripts/tools/codecoverage.sh diff --git a/.github/workflows/cirque.yaml b/.github/workflows/cirque.yaml index bf213f37f2f19c..5713438ff1fe26 100644 --- a/.github/workflows/cirque.yaml +++ b/.github/workflows/cirque.yaml @@ -15,8 +15,8 @@ name: Cirque on: - push: - pull_request: + #push: + #pull_request: workflow_dispatch: concurrency: diff --git a/.github/workflows/darwin.yaml b/.github/workflows/darwin.yaml index 3880c6bbe8f8fe..34cb91b6d36686 100644 --- a/.github/workflows/darwin.yaml +++ b/.github/workflows/darwin.yaml @@ -15,8 +15,8 @@ name: Darwin on: - push: - pull_request: + #push: + #pull_request: workflow_dispatch: concurrency: @@ -78,7 +78,7 @@ jobs: # for OTHER_CFLAGS exist by using ${inherited}. # # Disable -Wdocumentation because so much of our doxygen is so - # broken. See https://github.com/project-chip/connectedhomeip/issues/6734 + # broken. See https://github.com/vicfergar/connectedhomeip/issues/6734 # # Disable -Wconditional-uninitialized because the generated IM TLV # code hits this all over the place. diff --git a/.github/workflows/doxygen.yaml b/.github/workflows/doxygen.yaml index 83941d82b64da9..3409ffd51e3394 100644 --- a/.github/workflows/doxygen.yaml +++ b/.github/workflows/doxygen.yaml @@ -15,8 +15,8 @@ name: Doxygen on: - push: - pull_request: + #push: + #pull_request: workflow_dispatch: concurrency: @@ -48,11 +48,11 @@ jobs: run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})" id: extract_branch - name: Deploy if master - if: steps.extract_branch.outputs.branch == 'master' && github.repository == 'project-chip/connectedhomeip' + if: steps.extract_branch.outputs.branch == 'master' && github.repository == 'vicfergar/connectedhomeip' uses: peaceiris/actions-gh-pages@v3 with: deploy_key: ${{ secrets.DOXYGEN_DEPLOY_KEY }} - external_repository: project-chip/connectedhomeip-doc + external_repository: vicfergar/connectedhomeip-doc publish_dir: ./docs/html # Keep only the latest version of the documentation force_orphan: true diff --git a/.github/workflows/examples-ameba.yaml b/.github/workflows/examples-ameba.yaml index d058866af0e6e9..65cc726fdf063a 100644 --- a/.github/workflows/examples-ameba.yaml +++ b/.github/workflows/examples-ameba.yaml @@ -15,8 +15,9 @@ name: Build example - Ameba on: - push: - pull_request: + #push: + #pull_request: + workflow_dispatch: jobs: ameba: diff --git a/.github/workflows/examples-efr32.yaml b/.github/workflows/examples-efr32.yaml index b34bfb0106065e..169963ff1d15a2 100644 --- a/.github/workflows/examples-efr32.yaml +++ b/.github/workflows/examples-efr32.yaml @@ -15,8 +15,9 @@ name: Build example - EFR32 on: - push: - pull_request: + #push: + #pull_request: + workflow_dispatch: concurrency: group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }} diff --git a/.github/workflows/examples-esp32.yaml b/.github/workflows/examples-esp32.yaml index 023d1b2bdbb611..9e359547eb2cde 100644 --- a/.github/workflows/examples-esp32.yaml +++ b/.github/workflows/examples-esp32.yaml @@ -15,15 +15,16 @@ name: Build example - ESP32 on: - push: - pull_request: + #push: + #pull_request: + workflow_dispatch: concurrency: group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }} cancel-in-progress: true jobs: - # TODO ESP32 https://github.com/project-chip/connectedhomeip/issues/1510 + # TODO ESP32 https://github.com/vicfergar/connectedhomeip/issues/1510 esp32: name: ESP32 timeout-minutes: 85 diff --git a/.github/workflows/examples-infineon.yaml b/.github/workflows/examples-infineon.yaml index cfbefeea96d23e..597835965145b7 100644 --- a/.github/workflows/examples-infineon.yaml +++ b/.github/workflows/examples-infineon.yaml @@ -15,8 +15,8 @@ name: Build example - Infineon P6 on: - push: - pull_request: + #push: + #pull_request: workflow_dispatch: concurrency: diff --git a/.github/workflows/examples-k32w.yaml b/.github/workflows/examples-k32w.yaml index cada68ca75c908..59a0cbfcde9840 100644 --- a/.github/workflows/examples-k32w.yaml +++ b/.github/workflows/examples-k32w.yaml @@ -15,8 +15,9 @@ name: Build example - K32W with SE051 on: - push: - pull_request: + #push: + #pull_request: + workflow_dispatch: concurrency: group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }} diff --git a/.github/workflows/examples-linux-arm.yaml b/.github/workflows/examples-linux-arm.yaml index 78db5bfa1146c0..c0a9b9338ccf3d 100644 --- a/.github/workflows/examples-linux-arm.yaml +++ b/.github/workflows/examples-linux-arm.yaml @@ -15,8 +15,9 @@ name: Build example - Linux ARM on: - push: - pull_request: + #push: + #pull_request: + workflow_dispatch: concurrency: group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }} diff --git a/.github/workflows/examples-linux-standalone.yaml b/.github/workflows/examples-linux-standalone.yaml index 6ab3fa16e3e8f4..9cc372d3ae56d7 100644 --- a/.github/workflows/examples-linux-standalone.yaml +++ b/.github/workflows/examples-linux-standalone.yaml @@ -15,8 +15,9 @@ name: Build example - Linux Standalone on: - push: - pull_request: + #push: + #pull_request: + workflow_dispatch: concurrency: group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }} diff --git a/.github/workflows/examples-mbed.yaml b/.github/workflows/examples-mbed.yaml index ebb083efb8acef..ec77e03e824754 100644 --- a/.github/workflows/examples-mbed.yaml +++ b/.github/workflows/examples-mbed.yaml @@ -15,8 +15,8 @@ name: Build example - Mbed OS on: - push: - pull_request: + #push: + #pull_request: workflow_dispatch: concurrency: diff --git a/.github/workflows/examples-nrfconnect.yaml b/.github/workflows/examples-nrfconnect.yaml index 3ef75f5f7173da..359ab25d241755 100644 --- a/.github/workflows/examples-nrfconnect.yaml +++ b/.github/workflows/examples-nrfconnect.yaml @@ -15,8 +15,9 @@ name: Build example - nRF Connect SDK on: - push: - pull_request: + #push: + #pull_request: + workflow_dispatch: concurrency: group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }} diff --git a/.github/workflows/examples-qpg.yaml b/.github/workflows/examples-qpg.yaml index 555edda31fa26c..9a4abd5d542d92 100644 --- a/.github/workflows/examples-qpg.yaml +++ b/.github/workflows/examples-qpg.yaml @@ -15,8 +15,9 @@ name: Build example - QPG on: - push: - pull_request: + #push: + #pull_request: + workflow_dispatch: concurrency: group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }} diff --git a/.github/workflows/examples-telink.yaml b/.github/workflows/examples-telink.yaml index 73dd6c774cd3e0..2809b5d47e083c 100644 --- a/.github/workflows/examples-telink.yaml +++ b/.github/workflows/examples-telink.yaml @@ -15,8 +15,9 @@ name: Build example - Telink on: - push: - pull_request: + #push: + #pull_request: + workflow_dispatch: concurrency: group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }} diff --git a/.github/workflows/examples-tizen.yaml b/.github/workflows/examples-tizen.yaml index 06f0bfdf0dacee..d107680485b92f 100644 --- a/.github/workflows/examples-tizen.yaml +++ b/.github/workflows/examples-tizen.yaml @@ -15,8 +15,9 @@ name: Build example - Tizen on: - push: - pull_request: + #push: + #pull_request: + workflow_dispatch: jobs: tizen: diff --git a/.github/workflows/qemu.yaml b/.github/workflows/qemu.yaml index b4a340f7d525df..46f6319862eed6 100644 --- a/.github/workflows/qemu.yaml +++ b/.github/workflows/qemu.yaml @@ -15,8 +15,9 @@ name: QEMU on: - push: - pull_request: + #push: + #pull_request: + workflow_dispatch: concurrency: group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }} diff --git a/.github/workflows/release_artifacts.yaml b/.github/workflows/release_artifacts.yaml index a92195c022dce2..39c2de2b861a2b 100644 --- a/.github/workflows/release_artifacts.yaml +++ b/.github/workflows/release_artifacts.yaml @@ -54,7 +54,7 @@ jobs: - name: Upload artifact run: | scripts/helpers/upload_release_asset.py \ - --github-repository project-chip/connectedhomeip \ + --github-repository vicfergar/connectedhomeip \ --github-api-token "${{ secrets.GITHUB_TOKEN }}" \ --release-tag "${{ github.event.inputs.releaseTag }}" \ --bundle-files $BUILD_DIRECTORY/chip-all-clusters-app.flashbundle.txt \ @@ -96,7 +96,7 @@ jobs: - name: Upload artifact run: | scripts/helpers/upload_release_asset.py \ - --github-repository project-chip/connectedhomeip \ + --github-repository vicfergar/connectedhomeip \ --github-api-token "${{ secrets.GITHUB_TOKEN }}" \ --release-tag "${{ github.event.inputs.releaseTag }}" \ --bundle-files $BUILD_DIRECTORY/lock_app.flashbundle.txt \ diff --git a/.github/workflows/unit_integration_test.yaml b/.github/workflows/unit_integration_test.yaml index 8d7a3044215967..ca754d813e379b 100644 --- a/.github/workflows/unit_integration_test.yaml +++ b/.github/workflows/unit_integration_test.yaml @@ -85,8 +85,8 @@ jobs: - name: Run Tests timeout-minutes: 15 run: scripts/tests/gn_tests.sh - # TODO Log Upload https://github.com/project-chip/connectedhomeip/issues/2227 - # TODO https://github.com/project-chip/connectedhomeip/issues/1512 + # TODO Log Upload https://github.com/vicfergar/connectedhomeip/issues/2227 + # TODO https://github.com/vicfergar/connectedhomeip/issues/1512 # - name: Run Code Coverage # if: ${{ contains('main', env.BUILD_TYPE) }} # run: scripts/tools/codecoverage.sh diff --git a/.github/workflows/zap_templates.yaml b/.github/workflows/zap_templates.yaml index 66e0890624e8e7..2a0bfe0de17092 100644 --- a/.github/workflows/zap_templates.yaml +++ b/.github/workflows/zap_templates.yaml @@ -15,8 +15,9 @@ name: ZAP on: - push: - pull_request: + #push: + #pull_request: + workflow_dispatch: concurrency: group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}