Skip to content

Commit 0bad306

Browse files
authored
clean up the actions to only run on main branch (open-telemetry#2715)
1 parent b42c27f commit 0bad306

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

.github/workflows/master-build.yml .github/workflows/main-build.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: "Continuous Build"
33
on:
44
push:
55
branches:
6-
- master
76
- main
87

98
jobs:
@@ -49,7 +48,7 @@ jobs:
4948
name: coverage-report
5049
path: all/build/reports/jacoco/test/html
5150
publish-snapshots:
52-
name: Publish snapshots to JFrog
51+
name: Publish snapshots
5352
if: ${{ github.event_name == 'push' && github.repository == 'open-telemetry/opentelemetry-java' }}
5453
needs: build
5554
runs-on: ubuntu-latest

.github/workflows/pr-build.yml

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: "PR Build"
33
on:
44
pull_request:
55
branches:
6-
- master
76
- main
87

98
jobs:

.github/workflows/pr-examples-build.yml

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: "PR Examples Build"
33
on:
44
pull_request:
55
branches:
6-
- master
76
- main
87
paths:
98
- 'examples/**'

0 commit comments

Comments
 (0)