From b2aea55e02bd30a8c3498e3ae48c2f4fa44df1bc Mon Sep 17 00:00:00 2001 From: "dima.avdeev" Date: Thu, 7 Dec 2023 18:19:45 +0400 Subject: [PATCH] disable redundant GitHub Actions --- .github/workflows/integration_tests.yml | 5 +---- .github/workflows/jbpresubmit.yml | 19 +------------------ .github/workflows/presubmit.yml | 4 +--- .github/workflows/prune_artifacts.yml | 5 +---- .github/workflows/register_workflow_start.yml | 5 +---- .github/workflows/scorecards.yml | 8 +------- .github/workflows/update_prebuilts.yml | 14 +------------- 7 files changed, 7 insertions(+), 53 deletions(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index db2e46aa12df0..8cebf849f3eb1 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -1,8 +1,5 @@ name: Run Integration Tests -on: - workflow_run: - workflows: ["AndroidX Presubmits"] - types: [completed] +on: {} jobs: run_integration_tests: diff --git a/.github/workflows/jbpresubmit.yml b/.github/workflows/jbpresubmit.yml index 9ac7f4d9d54d3..a64a071512581 100644 --- a/.github/workflows/jbpresubmit.yml +++ b/.github/workflows/jbpresubmit.yml @@ -5,24 +5,7 @@ # The aim of this workflow is to run checks and some tests before submitting the CL upstream. name: JB-COMPOSE-variant of AndroidX Presubmits -on: - push: - branches: - - jb_cl* - - jb_presubmit* - - pull_request: - branches: - - jb-main - - jb_presubmit* - - jb_cl* - types: - - opened - - reopened - - synchronize - - # Allows to run this workflow manually from the Actions tab - workflow_dispatch: +on: {} jobs: setup: diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml index 1382b85e2662b..e5ae37c1d3cfd 100644 --- a/.github/workflows/presubmit.yml +++ b/.github/workflows/presubmit.yml @@ -1,7 +1,5 @@ name: AndroidX Presubmits -on: - push: - pull_request: +on: {} env: # Allow precise monitoring of the save/restore of Gradle User Home by `gradle-build-action` diff --git a/.github/workflows/prune_artifacts.yml b/.github/workflows/prune_artifacts.yml index b7eb39f745daf..836aa0243f595 100644 --- a/.github/workflows/prune_artifacts.yml +++ b/.github/workflows/prune_artifacts.yml @@ -1,8 +1,5 @@ name: "Prune old artifacts" -on: - schedule: - - cron: "0 0 * * 0" - workflow_dispatch: +on: {} jobs: delete-artifacts: diff --git a/.github/workflows/register_workflow_start.yml b/.github/workflows/register_workflow_start.yml index ec447a7db31cd..438b97488f57b 100644 --- a/.github/workflows/register_workflow_start.yml +++ b/.github/workflows/register_workflow_start.yml @@ -1,8 +1,5 @@ name: Register Workflow Run with AndroidX -on: - workflow_run: - workflows: ["AndroidX Presubmits"] - types: [requested] +on: {} jobs: ping_androidx_dev: diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index 4e63517b1b4ac..6fccbbccabc69 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -1,11 +1,5 @@ name: Scorecards supply-chain security -on: - # Only the default branch is supported. - branch_protection_rule: - schedule: - - cron: '24 14 * * 1' - push: - branches: [ androidx-main ] +on: {} # Declare default permissions as read only. permissions: read-all diff --git a/.github/workflows/update_prebuilts.yml b/.github/workflows/update_prebuilts.yml index 0eff299e824e7..fe4fc43ecd049 100644 --- a/.github/workflows/update_prebuilts.yml +++ b/.github/workflows/update_prebuilts.yml @@ -2,19 +2,7 @@ # To run it, navigate to https://github.com/androidx/androidx/actions/workflows/update_prebuilts.yml # and click "Run workflow" name: Update Prebuilts -on: - workflow_dispatch: - inputs: - target-branch: - description: 'The target branch for the PR' - required: false - default: 'androidx-main' - type: string - comment: - description: 'Any comment you would like to add to the PR body' - required: false - default: '' - type: string +on: {} jobs: update-prebuilts: runs-on: ubuntu-latest