From 5ad6a6b8f314377cad72c39753e1b1a0eedbec89 Mon Sep 17 00:00:00 2001 From: Ladislas de Toldi Date: Wed, 18 Dec 2024 13:52:25 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=88=20(ci):=20Collect=20Workflow=20Tel?= =?UTF-8?q?emetry?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci-linter-license_checker.yml | 5 +++++ .github/workflows/ci-linter-pre_commit_hooks.yml | 5 +++++ .github/workflows/ci-linter-swiftformat.yml | 5 +++++ .github/workflows/ci-linter-swiftlint.yml | 5 +++++ .github/workflows/ci-tuist-build-github_hosted.yml | 5 +++++ .github/workflows/ci-tuist-build.yml | 5 +++++ .github/workflows/ci-tuist-unit_tests.yml | 5 +++++ 7 files changed, 35 insertions(+) diff --git a/.github/workflows/ci-linter-license_checker.yml b/.github/workflows/ci-linter-license_checker.yml index 5ca1c8925..9c0997428 100644 --- a/.github/workflows/ci-linter-license_checker.yml +++ b/.github/workflows/ci-linter-license_checker.yml @@ -16,8 +16,13 @@ jobs: license_checker: name: lint runs-on: ubuntu-24.04 + permissions: + pull-requests: write steps: + - name: Collect Workflow Telemetry + uses: catchpoint/workflow-telemetry-action@v2 + - name: Checkout uses: actions/checkout@v4 with: diff --git a/.github/workflows/ci-linter-pre_commit_hooks.yml b/.github/workflows/ci-linter-pre_commit_hooks.yml index 3628323ab..58cd0e1f6 100644 --- a/.github/workflows/ci-linter-pre_commit_hooks.yml +++ b/.github/workflows/ci-linter-pre_commit_hooks.yml @@ -20,8 +20,13 @@ jobs: fail-fast: false matrix: files: [changed_files, all_files] + permissions: + pull-requests: write steps: + - name: Collect Workflow Telemetry + uses: catchpoint/workflow-telemetry-action@v2 + - name: Checkout uses: actions/checkout@v4 with: diff --git a/.github/workflows/ci-linter-swiftformat.yml b/.github/workflows/ci-linter-swiftformat.yml index 1a08a2f98..1e92f7e60 100644 --- a/.github/workflows/ci-linter-swiftformat.yml +++ b/.github/workflows/ci-linter-swiftformat.yml @@ -18,8 +18,13 @@ jobs: swift_format: name: swiftformat runs-on: [ubuntu-24.04] + permissions: + pull-requests: write steps: + - name: Collect Workflow Telemetry + uses: catchpoint/workflow-telemetry-action@v2 + - name: Checkout uses: actions/checkout@v4 with: diff --git a/.github/workflows/ci-linter-swiftlint.yml b/.github/workflows/ci-linter-swiftlint.yml index 4a9e215d6..1f40c8a6d 100644 --- a/.github/workflows/ci-linter-swiftlint.yml +++ b/.github/workflows/ci-linter-swiftlint.yml @@ -18,8 +18,13 @@ jobs: swift_format: name: swiftlint runs-on: [ubuntu-24.04] + permissions: + pull-requests: write steps: + - name: Collect Workflow Telemetry + uses: catchpoint/workflow-telemetry-action@v2 + - name: Checkout uses: actions/checkout@v4 with: diff --git a/.github/workflows/ci-tuist-build-github_hosted.yml b/.github/workflows/ci-tuist-build-github_hosted.yml index d7c7345ab..e8d40a89d 100644 --- a/.github/workflows/ci-tuist-build-github_hosted.yml +++ b/.github/workflows/ci-tuist-build-github_hosted.yml @@ -34,8 +34,13 @@ jobs: fail-fast: false matrix: TUIST_DEVELOPER_MODE: [TRUE, FALSE] + permissions: + pull-requests: write steps: + - name: Collect Workflow Telemetry + uses: catchpoint/workflow-telemetry-action@v2 + - name: Checkout uses: actions/checkout@v4 with: diff --git a/.github/workflows/ci-tuist-build.yml b/.github/workflows/ci-tuist-build.yml index 3c5ff3d6c..f7ca30884 100644 --- a/.github/workflows/ci-tuist-build.yml +++ b/.github/workflows/ci-tuist-build.yml @@ -34,8 +34,13 @@ jobs: fail-fast: false matrix: TUIST_DEVELOPER_MODE: [TRUE, FALSE] + permissions: + pull-requests: write steps: + - name: Collect Workflow Telemetry + uses: catchpoint/workflow-telemetry-action@v2 + - name: Checkout uses: actions/checkout@v4 with: diff --git a/.github/workflows/ci-tuist-unit_tests.yml b/.github/workflows/ci-tuist-unit_tests.yml index f000bd60c..fbaf19f6b 100644 --- a/.github/workflows/ci-tuist-unit_tests.yml +++ b/.github/workflows/ci-tuist-unit_tests.yml @@ -28,8 +28,13 @@ jobs: unit_tests: name: unit tests runs-on: [self-hosted, iOS] + permissions: + pull-requests: write steps: + - name: Collect Workflow Telemetry + uses: catchpoint/workflow-telemetry-action@v2 + - name: Checkout uses: actions/checkout@v4 with: