Skip to content

Commit

Permalink
Merge pull request #6089 from nextcloud/ci/betterNamesForCiChecks
Browse files Browse the repository at this point in the history
improve names of CI checks and do not run them on merges to master
  • Loading branch information
mgallien authored Sep 25, 2023
2 parents a91c96b + bb09bc6 commit b4a5717
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 46 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-translations.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: "Check translations"
name: Check translations

on:
pull_request:
branches: [ master, stable-* ]
types: [opened, synchronize, reopened]

# Declare default permissions as read only.
permissions: read-all
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: clang-tidy-review

# You can be more specific, but it currently only works on pull requests
on: [pull_request]
on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
clang-tidy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fixup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Block fixup and squash commits

on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
types: [opened, synchronize, reopened]

permissions:
contents: read
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/generates_locales.yml

This file was deleted.

5 changes: 1 addition & 4 deletions .github/workflows/macos-build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
name: macOS Build and Test
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build
name: macOS Build and Test
runs-on: macos-latest
env:
CRAFT_TARGET: macos-64-clang
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/qml-label-check.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
name: QML Label component check
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build
name: QML Label component check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
name: SonarCloud analysis
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build
name: SonarCloud analysis
runs-on: ubuntu-22.04
container: ghcr.io/nextcloud/continuous-integration-client:client-5.15-14
env:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/windows-build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
name: Windows Build and Test
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build
name: Windows Build and Test
runs-on: windows-2019
env:
CRAFT_TARGET: windows-msvc2019_64-cl
Expand Down

0 comments on commit b4a5717

Please sign in to comment.