Skip to content

Commit

Permalink
disable redundant GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dima-avdeev-jb committed Dec 7, 2023
1 parent 072a8c2 commit b2aea55
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 53 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Run Integration Tests
on:
workflow_run:
workflows: ["AndroidX Presubmits"]
types: [completed]
on: {}

jobs:
run_integration_tests:
Expand Down
19 changes: 1 addition & 18 deletions .github/workflows/jbpresubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/presubmit.yml
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/prune_artifacts.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: "Prune old artifacts"
on:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
on: {}

jobs:
delete-artifacts:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/register_workflow_start.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Register Workflow Run with AndroidX
on:
workflow_run:
workflows: ["AndroidX Presubmits"]
types: [requested]
on: {}

jobs:
ping_androidx_dev:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
14 changes: 1 addition & 13 deletions .github/workflows/update_prebuilts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2aea55

Please sign in to comment.