Skip to content

Commit

Permalink
Merge pull request #5112 from vector-im/doug/remove_build_ci
Browse files Browse the repository at this point in the history
Only run build CI on develop.
  • Loading branch information
pixlwave authored Dec 7, 2021
2 parents 657a160 + 8ca5033 commit a311e6e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
# Triggers the workflow on any pull request and push to develop
push:
branches: [ develop ]
pull_request:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -18,11 +17,7 @@ jobs:
name: Build
runs-on: macos-11

concurrency:
# When running on develop, use the sha to allow all runs of this workflow to run concurrently.
# Otherwise only allow a single run of this workflow on each branch, automatically cancelling older runs.
group: ${{ github.ref == 'refs/heads/develop' && format('build-develop-{0}', github.sha) || format('build-{0}', github.ref) }}
cancel-in-progress: true
# Concurrency group not needed as this workflow only runs on develop which we always want to test.

steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ jobs:
runs-on: macos-11

concurrency:
# When running on develop, use the sha to allow all runs of this workflow to run concurrently.
# Otherwise only allow a single run of this workflow on each branch, automatically cancelling older runs.
group: ${{ github.ref == 'refs/heads/develop' && format('alpha-develop-{0}', github.sha) || format('alpha-{0}', github.ref) }}
# Only allow a single run of this workflow on each branch, automatically cancelling older runs.
group: alpha-${{ github.head_ref }}
cancel-in-progress: true

steps:
Expand Down
1 change: 1 addition & 0 deletions changelog.d/pr-5112.build
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Only run Build CI on develop, as it is already covered by Tests and Alpha.

0 comments on commit a311e6e

Please sign in to comment.