Skip to content

Commit cfcaa24

Browse files
authored
chore: migrate to branch main (#1551)
1 parent e73de35 commit cfcaa24

File tree

34 files changed

+66
-66
lines changed

34 files changed

+66
-66
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ _A clear and concise description of what the bug is._
1919
If possible, an example or snippet that reproduces the bug.
2020

2121
> Having a reproducible example highly reduces the time to resolution, allows others to participate, and avoids misunderstandings/communications cycles.
22-
You can support by adjusting one of the [springwolf examples](https://github.com/springwolf/springwolf-core/tree/master/springwolf-examples), so that it reproduces your scenario:
22+
You can support by adjusting one of the [springwolf examples](https://github.com/springwolf/springwolf-core/tree/main/springwolf-examples), so that it reproduces your scenario:
2323
> 1. Fork this repo (`springwolf-core`) in GitHub and `git clone` it
2424
> 2. Adjust classes, etc. in one of the `springwolf-examples`
2525
> 3. Push your local changes to a branch on your fork (`git commit`, `git push`)

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ name: "CodeQL Advanced"
1313

1414
on:
1515
# push:
16-
# branches: [ "master" ]
16+
# branches: [ "main" ]
1717
# pull_request:
18-
# branches: [ "master" ]
18+
# branches: [ "main" ]
1919
workflow_dispatch:
2020
schedule:
2121
- cron: '16 8 * * 5'

.github/workflows/springwolf-addons.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: springwolf-addons
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
types: [ opened, synchronize, ready_for_review ]
99
workflow_dispatch:
@@ -52,7 +52,7 @@ jobs:
5252
run: ./gradlew -p ${{ env.addon }} build
5353

5454
- name: Publish package
55-
if: github.ref == 'refs/heads/master'
55+
if: github.ref == 'refs/heads/main'
5656
run: ./gradlew -p ${{ env.addon }} publish
5757
env:
5858
ORG_GRADLE_PROJECT_SNAPSHOT: true

.github/workflows/springwolf-asyncapi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: springwolf-asyncapi
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
types: [ opened, synchronize, ready_for_review ]
99
workflow_dispatch:
@@ -41,7 +41,7 @@ jobs:
4141
run: ./gradlew -p springwolf-asyncapi build
4242

4343
- name: Publish package
44-
if: github.ref == 'refs/heads/master'
44+
if: github.ref == 'refs/heads/main'
4545
run: ./gradlew -p springwolf-asyncapi publish
4646
env:
4747
ORG_GRADLE_PROJECT_SNAPSHOT: true

.github/workflows/springwolf-bindings.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: springwolf-bindings
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
types: [ opened, synchronize, ready_for_review ]
99
workflow_dispatch:
@@ -52,7 +52,7 @@ jobs:
5252
run: ./gradlew -p ${{ env.binding }} build
5353

5454
- name: Publish package
55-
if: github.ref == 'refs/heads/master'
55+
if: github.ref == 'refs/heads/main'
5656
run: ./gradlew -p ${{ env.binding }} publish
5757
env:
5858
ORG_GRADLE_PROJECT_SNAPSHOT: true

.github/workflows/springwolf-core.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: springwolf-core
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
types: [ opened, synchronize, ready_for_review ]
99
workflow_dispatch:
@@ -50,7 +50,7 @@ jobs:
5050
annotate_only: github.event.pull_request.head.repo.full_name != github.repository # for forks
5151

5252
- name: Publish package
53-
if: github.ref == 'refs/heads/master'
53+
if: github.ref == 'refs/heads/main'
5454
run: ./gradlew -p springwolf-core publish
5555
env:
5656
ORG_GRADLE_PROJECT_SNAPSHOT: true

.github/workflows/springwolf-plugins.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: springwolf-plugins
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
types: [ opened, synchronize, ready_for_review ]
99
workflow_dispatch:
@@ -90,7 +90,7 @@ jobs:
9090
retention-days: 14
9191

9292
- name: Publish docker image
93-
if: github.ref == 'refs/heads/master'
93+
if: github.ref == 'refs/heads/main'
9494
run: ./gradlew -p ${{ env.example }} dockerBuildImage dockerPushImage
9595
env:
9696
ORG_GRADLE_PROJECT_SNAPSHOT: true
@@ -99,7 +99,7 @@ jobs:
9999
ORG_GRADLE_PROJECT_DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
100100

101101
- name: Publish package
102-
if: github.ref == 'refs/heads/master'
102+
if: github.ref == 'refs/heads/main'
103103
run: ./gradlew -p ${{ env.plugin }} publish
104104
env:
105105
ORG_GRADLE_PROJECT_SNAPSHOT: true

.github/workflows/springwolf-ui.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: springwolf-ui
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
types: [ opened, synchronize, ready_for_review ]
99
workflow_dispatch:
@@ -60,7 +60,7 @@ jobs:
6060
runs-on: ubuntu-latest
6161
timeout-minutes: 10
6262

63-
if: github.ref == 'refs/heads/master'
63+
if: github.ref == 'refs/heads/main'
6464
needs: [build]
6565
permissions:
6666
contents: write
@@ -81,7 +81,7 @@ jobs:
8181
uses: gradle/actions/setup-gradle@v5
8282

8383
- name: Publish package
84-
if: github.ref == 'refs/heads/master'
84+
if: github.ref == 'refs/heads/main'
8585
run: ./gradlew -p ${{ env.project }} publish
8686
env:
8787
ORG_GRADLE_PROJECT_SNAPSHOT: true
@@ -93,10 +93,10 @@ jobs:
9393
ORG_GRADLE_PROJECT_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
9494

9595
- name: Build gh-pages
96-
if: github.ref == 'refs/heads/master'
96+
if: github.ref == 'refs/heads/main'
9797
run: ./gradlew -p ${{ env.project }} buildPages
9898
- name: Deploy to gh pages 🚀
99-
if: github.ref == 'refs/heads/master'
99+
if: github.ref == 'refs/heads/main'
100100
uses: JamesIves/github-pages-deploy-action@v4
101101
with:
102102
folder: ${{ env.project }}/dist/springwolf-ui/

.github/workflows/welcome-first-time-contrib.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
with:
2525
github-token: ${{ secrets.GITHUB_TOKEN }}
2626
script: |
27-
const issueMessage = `Welcome to Springwolf. Thanks a lot for reporting your first issue. Please check out our [contributors guide](https://github.com/springwolf/springwolf-core/blob/master/CONTRIBUTING.md) and feel free to join us on discord.`;
28-
const prMessage = `Welcome to Springwolf. Thanks a lot for creating your first pull request. Please check out our [contributors guide](https://github.com/springwolf/springwolf-core/blob/master/CONTRIBUTING.md) and feel free to join us on discord.`;
27+
const issueMessage = `Welcome to Springwolf. Thanks a lot for reporting your first issue. Please check out our [contributors guide](https://github.com/springwolf/springwolf-core/blob/main/CONTRIBUTING.md) and feel free to join us on discord.`;
28+
const prMessage = `Welcome to Springwolf. Thanks a lot for creating your first pull request. Please check out our [contributors guide](https://github.com/springwolf/springwolf-core/blob/main/CONTRIBUTING.md) and feel free to join us on discord.`;
2929
if (!issueMessage && !prMessage) {
3030
throw new Error('Action must have at least one of issue-message or pr-message set');
3131
}

0 commit comments

Comments
 (0)