From e966452521d43cd34b290f7dc8179c8f96cd6ca1 Mon Sep 17 00:00:00 2001 From: Angus Bayley Date: Tue, 26 Nov 2024 16:13:46 +0000 Subject: [PATCH] ci: remove initial unused workflows --- .github/workflows/bot-super-report-custom.yml | 41 ------------------- .github/workflows/build-desktop.yml | 36 ---------------- .github/workflows/test-design-system.yml | 32 --------------- .github/workflows/test-libs.yml | 33 --------------- 4 files changed, 142 deletions(-) delete mode 100644 .github/workflows/bot-super-report-custom.yml delete mode 100644 .github/workflows/build-desktop.yml delete mode 100644 .github/workflows/test-design-system.yml delete mode 100644 .github/workflows/test-libs.yml diff --git a/.github/workflows/bot-super-report-custom.yml b/.github/workflows/bot-super-report-custom.yml deleted file mode 100644 index 1051d40ad93f..000000000000 --- a/.github/workflows/bot-super-report-custom.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: "Bot Super Report (custom)" -on: - workflow_dispatch: - inputs: - branch: - description: the branch to filter (if any) - environment: - description: the environment to filter (if any) - days: - description: number of days to take - slackChannel: - description: channel to use for the report - -permissions: - id-token: write - contents: read - -jobs: - main: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v4 - - name: Setup the toolchain - uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop - with: - accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }} - roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }} - region: ${{ secrets.AWS_CACHE_REGION }} - turbo-server-token: ${{ secrets.TURBOREPO_SERVER_TOKEN }} - - name: Install dependencies - run: pnpm i --filter='!./apps/**' - - - name: generate super report - uses: LedgerHQ/ledger-live/tools/actions/generate-bot-super-report@develop - with: - branch: ${{inputs.branch}} - environment: ${{inputs.environment}} - days: ${{inputs.days}} - slackChannel: ${{inputs.slackChannel}} - githubToken: ${{github.token}} - slackApiToken: ${{secrets.SLACK_API_TOKEN}} diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml deleted file mode 100644 index 5255fe9e880c..000000000000 --- a/.github/workflows/build-desktop.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: "@Desktop • Build App" -run-name: "@Desktop • Build App triggered by ${{ inputs.login || github.actor }} ${{ format('on ref {0}', github.ref_name) }}" - -on: - workflow_dispatch: - inputs: - ref: - description: | - If you run this manually, and want to run on a PR, the correct ref should be refs/pull/{PR_NUMBER}/merge to - have the "normal" scenario involving checking out a merge commit between your branch and the base branch. - If you want to run only on a branch or specific commit, you can use either the sha or the branch name instead (prefer the first verion for PRs). - required: false - login: - description: The GitHub username that triggered the workflow - required: false - base_ref: - description: The base branch to merge the head into when checking out the code - required: false - prNumber: - description: PR number - required: false - -concurrency: - group: ${{ github.workflow }}-${{ github.ref_name != 'develop' && github.ref || github.run_id }} - cancel-in-progress: true - -permissions: - id-token: write - contents: read - pull-requests: write - -jobs: - build-desktop: - name: "Build Desktop" - uses: LedgerHQ/ledger-live/.github/workflows/build-desktop-reusable.yml@develop - secrets: inherit diff --git a/.github/workflows/test-design-system.yml b/.github/workflows/test-design-system.yml deleted file mode 100644 index 420439f5f623..000000000000 --- a/.github/workflows/test-design-system.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: "@Design System • Tests" -run-name: "@Design System • Tests triggered by ${{ inputs.login || github.actor }} ${{ format('on ref {0}', github.ref_name) }}" - -on: - workflow_dispatch: - inputs: - since_branch: - description: The branch that turborepo will check when diffing. - default: "develop" - ref: - description: | - If you run this manually, and want to run on a PR, the correct ref should be refs/pull/{PR_NUMBER}/merge to - have the "normal" scenario involving checking out a merge commit between your branch and the base branch. - If you want to run only on a branch or specific commit, you can use either the sha or the branch name instead (prefer the first verion for PRs). - required: false - login: - description: The GitHub username that triggered the workflow - required: false - -concurrency: - group: ${{ github.workflow }}-${{ github.ref_name != 'develop' && github.ref || github.run_id }} - cancel-in-progress: true - -permissions: - id-token: write - contents: read - -jobs: - test-design-system: - name: "Test Design System" - uses: LedgerHQ/ledger-live/.github/workflows/test-design-system-reusable.yml@develop - secrets: inherit diff --git a/.github/workflows/test-libs.yml b/.github/workflows/test-libs.yml deleted file mode 100644 index 27b17cfee548..000000000000 --- a/.github/workflows/test-libs.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: "@Libraries • Tests" -run-name: "@Libraries • Tests triggered by ${{ inputs.login || github.actor }} ${{ format('on ref {0}', github.ref_name) }}" - -on: - workflow_dispatch: - inputs: - since_branch: - description: The branch that turborepo will check when diffing. - default: "develop" - ref: - description: | - If you run this manually, and want to run on a PR, the correct ref should be refs/pull/{PR_NUMBER}/merge to - have the "normal" scenario involving checking out a merge commit between your branch and the base branch. - If you want to run only on a branch or specific commit, you can use either the sha or the branch name instead (prefer the first verion for PRs). - required: false - login: - description: The GitHub username that triggered the workflow - required: false - -concurrency: - group: ${{ github.workflow }}-${{ github.ref_name != 'develop' && github.ref || github.run_id }} - cancel-in-progress: true - -permissions: - id-token: write - contents: read - pull-requests: write - -jobs: - test-libraries: - name: "Test Libraries" - uses: LedgerHQ/ledger-live/.github/workflows/test-libs-reusable.yml@develop - secrets: inherit