mirror of
https://github.com/optim-enterprises-bv/siembol.git
synced 2025-10-29 17:42:43 +00:00
Updates references to new more inclusive default branch name (#425)
* updates references from master to main * revert formatting change
This commit is contained in:
32
.github/workflows/ci.yml
vendored
32
.github/workflows/ci.yml
vendored
@@ -101,11 +101,11 @@ jobs:
|
||||
with:
|
||||
images: gresearchdev/siembol-${{ matrix.component }}
|
||||
flavor: |
|
||||
latest=${{ github.ref == 'refs/heads/master' && !endsWith(steps.info.outputs.version, '-SNAPSHOT') }}
|
||||
latest=${{ github.ref == 'refs/heads/main' && !endsWith(steps.info.outputs.version, '-SNAPSHOT') }}
|
||||
# We use raw because our release process is not done on tag push (yet)
|
||||
tags: |
|
||||
type=raw,value=${{ steps.info.outputs.version }}
|
||||
type=raw,value=snapshot,enable=${{ github.ref == 'refs/heads/master' && endsWith(steps.info.outputs.version, '-SNAPSHOT') }}
|
||||
type=raw,value=snapshot,enable=${{ github.ref == 'refs/heads/main' && endsWith(steps.info.outputs.version, '-SNAPSHOT') }}
|
||||
labels: |
|
||||
org.opencontainers.image.title=siembol-${{ matrix.component }}
|
||||
- name: Build and export Docker image
|
||||
@@ -120,9 +120,9 @@ jobs:
|
||||
outputs: type=docker,dest=image.tar
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
# Only run this step for master and hotfix branches.
|
||||
# Only run this step for main and hotfix branches.
|
||||
- name: Upload Docker image
|
||||
if: github.event_name == 'push' && !github.event.repository.fork && ( github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/hotfix/') )
|
||||
if: github.event_name == 'push' && !github.event.repository.fork && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/hotfix/') )
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: docker-${{ matrix.component }}
|
||||
@@ -169,11 +169,11 @@ jobs:
|
||||
with:
|
||||
images: gresearchdev/siembol-${{ matrix.component }}
|
||||
flavor: |
|
||||
latest=${{ github.ref == 'refs/heads/master' && !endsWith(steps.info.outputs.version, '-SNAPSHOT') }}
|
||||
latest=${{ github.ref == 'refs/heads/main' && !endsWith(steps.info.outputs.version, '-SNAPSHOT') }}
|
||||
# We use raw because our release process is not done on tag push (yet)
|
||||
tags: |
|
||||
type=raw,value=${{ steps.info.outputs.version }}
|
||||
type=raw,value=snapshot,enable=${{ github.ref == 'refs/heads/master' && endsWith(steps.info.outputs.version, '-SNAPSHOT') }}
|
||||
type=raw,value=snapshot,enable=${{ github.ref == 'refs/heads/main' && endsWith(steps.info.outputs.version, '-SNAPSHOT') }}
|
||||
labels: |
|
||||
org.opencontainers.image.title=siembol-${{ matrix.component }}
|
||||
- name: Build and export Docker image
|
||||
@@ -188,9 +188,9 @@ jobs:
|
||||
outputs: type=docker,dest=image.tar
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
# Only run this step for master and hotfix branches.
|
||||
# Only run this step for main and hotfix branches.
|
||||
- name: Upload Docker image
|
||||
if: github.event_name == 'push' && !github.event.repository.fork && ( github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/hotfix/') )
|
||||
if: github.event_name == 'push' && !github.event.repository.fork && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/hotfix/') )
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: docker-${{ matrix.component }}
|
||||
@@ -254,11 +254,11 @@ jobs:
|
||||
with:
|
||||
images: gresearchdev/siembol-config-editor-ui
|
||||
flavor: |
|
||||
latest=${{ github.ref == 'refs/heads/master' && !endsWith(steps.info.outputs.version, '-dev') }}
|
||||
latest=${{ github.ref == 'refs/heads/main' && !endsWith(steps.info.outputs.version, '-dev') }}
|
||||
# We use raw because our release process is not done on tag push (yet)
|
||||
tags: |
|
||||
type=raw,value=${{ steps.info.outputs.version }}
|
||||
type=raw,value=snapshot,enable=${{ github.ref == 'refs/heads/master' && endsWith(steps.info.outputs.version, '-dev') }}
|
||||
type=raw,value=snapshot,enable=${{ github.ref == 'refs/heads/main' && endsWith(steps.info.outputs.version, '-dev') }}
|
||||
labels: |
|
||||
org.opencontainers.image.title=siembol-config-editor-ui
|
||||
- name: Build and export Docker image
|
||||
@@ -270,18 +270,18 @@ jobs:
|
||||
outputs: type=docker,dest=image.tar
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
# Only run this step for master and hotfix branches.
|
||||
# Only run this step for main and hotfix branches.
|
||||
- name: Upload Docker image
|
||||
if: github.event_name == 'push' && !github.event.repository.fork && ( github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/hotfix/') )
|
||||
if: github.event_name == 'push' && !github.event.repository.fork && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/hotfix/') )
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: docker-config-editor-ui
|
||||
path: image.tar
|
||||
|
||||
release-version:
|
||||
# Only run this job for master and hotfix branches.
|
||||
# Only run this job for main and hotfix branches.
|
||||
# Jobs that depend on this one will be skipped too.
|
||||
if: github.event_name == 'push' && !github.event.repository.fork && ( github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/hotfix/') )
|
||||
if: github.event_name == 'push' && !github.event.repository.fork && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/hotfix/') )
|
||||
runs-on: ubuntu-latest
|
||||
needs: build-java
|
||||
outputs:
|
||||
@@ -333,9 +333,9 @@ jobs:
|
||||
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSWORD }}
|
||||
|
||||
release-docker:
|
||||
# Only run this job for master and hotfix branches.
|
||||
# Only run this job for main and hotfix branches.
|
||||
# Jobs that depend on this one will be skipped too.
|
||||
if: github.event_name == 'push' && !github.event.repository.fork && ( github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/hotfix/') )
|
||||
if: github.event_name == 'push' && !github.event.repository.fork && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/hotfix/') )
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build-docker-storm, build-docker-java, build-docker-config-editor-ui]
|
||||
environment: release
|
||||
|
||||
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
@@ -13,10 +13,10 @@ name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ master ]
|
||||
branches: [ main ]
|
||||
# Run schedule at 04:00 on Monday.
|
||||
schedule:
|
||||
- cron: '0 4 * * 1'
|
||||
|
||||
@@ -35,4 +35,4 @@ To join the conversation, use this link:
|
||||
|
||||
Siembol is licensed with the Apache 2.0 license. You can find it published here:
|
||||
|
||||
* [https://github.com/G-Research/siembol/blob/master/LICENSE](https://github.com/G-Research/siembol/blob/master/LICENSE)
|
||||
* [https://github.com/G-Research/siembol/blob/main/LICENSE](https://github.com/G-Research/siembol/blob/main/LICENSE)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
{
|
||||
"icon": "library_books",
|
||||
"title": "Documentation",
|
||||
"link": "https://github.com/G-Research/siembol/tree/master/docs"
|
||||
"link": "https://github.com/G-Research/siembol/tree/main/docs"
|
||||
},
|
||||
{
|
||||
"icon": "live_help",
|
||||
|
||||
@@ -15,7 +15,7 @@ Below is the default config file provided where the two default links are in "ho
|
||||
{
|
||||
"icon": "library_books",
|
||||
"title": "Documentation",
|
||||
"link": "https://github.com/G-Research/siembol/tree/master/docs"
|
||||
"link": "https://github.com/G-Research/siembol/tree/main/docs"
|
||||
},
|
||||
{
|
||||
"icon": "live_help",
|
||||
|
||||
@@ -30,7 +30,7 @@ Below is the default config file provided. The two default links are in "homeLin
|
||||
{
|
||||
"icon": "library_books",
|
||||
"title": "Documentation",
|
||||
"link": "https://github.com/G-Research/siembol/tree/master/docs"
|
||||
"link": "https://github.com/G-Research/siembol/tree/main/docs"
|
||||
},
|
||||
{
|
||||
"icon": "live_help",
|
||||
|
||||
2
pom.xml
2
pom.xml
@@ -21,7 +21,7 @@
|
||||
<connection>scm:git:git://github.com/g-research/siembol.git</connection>
|
||||
<developerConnection>scm:git:ssh://github.com:g-research/siembol.git</developerConnection>
|
||||
<url>https://github.com/g-research/siembol/tree/${project.scm.tag}</url>
|
||||
<tag>master</tag>
|
||||
<tag>main</tag>
|
||||
</scm>
|
||||
<developers>
|
||||
<developer>
|
||||
|
||||
Reference in New Issue
Block a user