File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -65,11 +65,11 @@ The following examples show simple workflows made up of one job for projects bui
6565name: Jtest with Gradle
6666
6767on:
68- # Trigger the workflow on push or pull request events but only for the master branch.
68+ # Trigger the workflow on push or pull request events but only for the main branch.
6969 push:
70- branches: [ master ]
70+ branches: [ main ]
7171 pull_request:
72- branches: [ master ]
72+ branches: [ main ]
7373
7474 # Allows you to run this workflow manually from the Actions tab.
7575 workflow_dispatch:
@@ -122,11 +122,11 @@ jobs:
122122name: Jtest with Maven
123123
124124on:
125- # Trigger the workflow on push or pull request events but only for the master branch.
125+ # Trigger the workflow on push or pull request events but only for the main branch.
126126 push:
127- branches: [ master ]
127+ branches: [ main ]
128128 pull_request:
129- branches: [ master ]
129+ branches: [ main ]
130130
131131 # Allows you to run this workflow manually from the Actions tab.
132132 workflow_dispatch:
You can’t perform that action at this time.
0 commit comments