Skip to content

Commit 5a9a6b6

Browse files
authored
update references from master to main
1 parent 8d39517 commit 5a9a6b6

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ what scripts were updated
5757
* First, you'll want to create the secrets that will be needed for this to work. You can do this in the settings of your repository, you'll reference those secrets in the workflow file.
5858
* Now create the workflow file in `.github/workflows/git2jamf.yml`
5959
* You can use the example bellow as a basis(replace the secret values for the names of the ones you created).
60-
* In this example, the action runs only when a push is sent to master and it's attempting to sync a folder called `scripts` at the root of the repository.
60+
* In this example, the action runs only when a push is sent to main and it's attempting to sync a folder called `scripts` at the root of the repository.
6161
* You can customize it further using githubs [workflow documentation](https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions)
6262

6363
**NOTE**: If possible, I recommend running this on a test instance first. If you can't, then try syncing just one folder with a small set of scripts so you can get a feel for how it works.
@@ -67,7 +67,7 @@ name: git2jamf
6767
on:
6868
push:
6969
branches:
70-
- master
70+
- main
7171
jobs:
7272
jamf_scripts:
7373
runs-on: ubuntu-latest
@@ -76,7 +76,7 @@ jobs:
7676
- name: checkout
7777
uses: actions/checkout@v3
7878
- name: git2jamf
79-
uses: jgarcesres/git2jamf@master
79+
uses: jgarcesres/git2jamf@main
8080
with:
8181
jamf_url: ${{ secrets.jamf_test_url }}
8282
jamf_username: ${{ secrets.jamf_test_username }}
@@ -86,14 +86,14 @@ jobs:
8686
8787
8888
## Example usage with 2 instances
89-
you would probably have 2 sets of secrets, with url and credentials for each instance(or share the same user creds across both servers). You also will need 2 workflow files: one for pushes to the master branch and another that goes to test.
89+
you would probably have 2 sets of secrets, with url and credentials for each instance(or share the same user creds across both servers). You also will need 2 workflow files: one for pushes to the main branch and another that goes to test.
9090
9191
```yaml
9292
name: git2jamf_test
9393
on:
9494
pull_request:
9595
branches:
96-
- master
96+
- main
9797
push:
9898
branches:
9999
- test*
@@ -106,7 +106,7 @@ jobs:
106106
- name: checkout
107107
uses: actions/checkout@v3
108108
- name: git2jamf_test
109-
uses: jgarcesres/git2jamf@master
109+
uses: jgarcesres/git2jamf@main
110110
with:
111111
jamf_url: ${{ secrets.jamf_test_url }}
112112
jamf_username: ${{ secrets.jamf_test_username }}
@@ -118,7 +118,7 @@ name: git2jamf
118118
on:
119119
push:
120120
branches:
121-
- master
121+
- main
122122
jobs:
123123
jamf_scripts:
124124
runs-on: ubuntu-latest
@@ -127,7 +127,7 @@ jobs:
127127
- name: checkout
128128
uses: actions/checkout@v3
129129
- name: git2jamf
130-
uses: jgarcesres/git2jamf@master
130+
uses: jgarcesres/git2jamf@main
131131
with:
132132
jamf_url: ${{ secrets.jamf_prod_url }}
133133
jamf_username: ${{ secrets.jamf_prod_username }}
@@ -153,7 +153,7 @@ jobs:
153153
- name: checkout
154154
uses: actions/checkout@v3
155155
- name: git2jamf_test
156-
uses: jgarcesres/git2jamf@master
156+
uses: jgarcesres/git2jamf@main
157157
with:
158158
jamf_url: ${{ secrets.jamf_url }}
159159
jamf_username: ${{ secrets.jamf_username }}
@@ -166,7 +166,7 @@ name: git2jamf
166166
on:
167167
push:
168168
branches:
169-
- master
169+
- main
170170
jobs:
171171
jamf_scripts:
172172
runs-on: ubuntu-latest
@@ -175,7 +175,7 @@ jobs:
175175
- name: checkout
176176
uses: actions/checkout@v3
177177
- name: git2jamf
178-
uses: jgarcesres/git2jamf@master
178+
uses: jgarcesres/git2jamf@main
179179
with:
180180
jamf_url: ${{ secrets.jamf_url }}
181181
jamf_username: ${{ secrets.jamf_username }}

0 commit comments

Comments
 (0)