diff --git a/.github/workflows/java-checkstyle.yml b/.github/workflows/java-checkstyle.yml index d6f5dad..1716925 100644 --- a/.github/workflows/java-checkstyle.yml +++ b/.github/workflows/java-checkstyle.yml @@ -5,7 +5,7 @@ on: workflow_call: concurrency: - group: ${{ github.event_name == 'pull_request' && format('pr-{0}-java-checkstyle', github.event.pull_request.number) || (github.event_name == 'push' && github.ref == 'refs/heads/main' && 'main-branch-java-checkstyle') || 'java-checkstyle' }} + group: ${{ github.event_name == 'pull_request' && format('pr-{0}-java-checkstyle', github.event.pull_request.number) || 'java-checkstyle' }} cancel-in-progress: true jobs: lint: diff --git a/.github/workflows/mvn-package.yml b/.github/workflows/mvn-package.yml index b2eb4f4..4fd2df2 100644 --- a/.github/workflows/mvn-package.yml +++ b/.github/workflows/mvn-package.yml @@ -26,7 +26,7 @@ on: required: false concurrency: - group: ${{ github.event_name == 'pull_request' && format('pr-{0}-mvn-package', github.event.pull_request.number) || (github.event_name == 'push' && github.ref == 'refs/heads/main' && 'main-branch-mvn-package') || 'mvn-package' }} + group: ${{ github.event_name == 'pull_request' && format('pr-{0}-mvn-package', github.event.pull_request.number) || 'mvn-package' }} cancel-in-progress: true jobs: