Skip to content

Commit e95fc87

Browse files
committed
ci: update workflow
1 parent 5ec7b84 commit e95fc87

3 files changed

Lines changed: 3 additions & 11 deletions

File tree

.github/workflows/cd-integration.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
name: Build, Gates and Pull Request
22

33
on:
4-
pull_request_target:
4+
push:
55
branches:
66
- develop
7-
types:
8-
- closed
97

108
permissions:
119
contents: write
1210
pull-requests: write
1311

1412
jobs:
1513
variables:
16-
if: ${{ github.event.pull_request.merged == true }}
1714
runs-on: ubuntu-latest
1815
outputs:
1916
version: ${{ steps.environment.outputs.version }}

.github/workflows/cd-release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
name: Build and Publish Release
22

33
on:
4-
pull_request_target:
4+
push:
55
branches:
66
- master
7-
types:
8-
- closed
97

108
permissions:
119
contents: write

.github/workflows/cd-snapshot.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
name: Build, Publish Snapshot and Pull Request
22

33
on:
4-
pull_request_target:
4+
push:
55
branches:
66
- release/**
7-
types:
8-
- closed
97

108
permissions:
119
contents: write
1210
pull-requests: write
1311

1412
jobs:
1513
ci:
16-
if: ${{ github.event.pull_request.merged == true }}
1714
uses: ./.github/workflows/ci-maven.yml
1815
secrets: inherit
1916

0 commit comments

Comments
 (0)