Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable redundant GitHub Actions #926

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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