Skip to content

Commit 032a983

Browse files
Copilotlippytm
andcommitted
Update existing blank.yml to support master and main branches
Co-authored-by: lippytm <65956507+lippytm@users.noreply.github.com>
1 parent 549cc71 commit 032a983

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/blank.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
name: CI
44

55
# Controls when the action will run. Triggers the workflow on push or pull request
6-
# events but only for the master branch
6+
# events but only for the master or main branch
77
on:
88
push:
9-
branches: [ master ]
9+
branches: [ master, main ]
1010
pull_request:
11-
branches: [ master ]
11+
branches: [ master, main ]
1212

1313
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1414
jobs:
@@ -20,7 +20,7 @@ jobs:
2020
# Steps represent a sequence of tasks that will be executed as part of the job
2121
steps:
2222
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v4
2424

2525
# Runs a single command using the runners shell
2626
- name: Run a one-line script

0 commit comments

Comments
 (0)