Skip to content

Commit 42c0fc8

Browse files
authored
Update README.md
1 parent 4ee344e commit 42c0fc8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ The following examples show simple workflows made up of one job for projects bui
6565
name: Jtest with Gradle
6666
6767
on:
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:
122122
name: Jtest with Maven
123123
124124
on:
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:

0 commit comments

Comments
 (0)