-
Notifications
You must be signed in to change notification settings - Fork 4
Update repo documentation #286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
5a4ee4d
Fix workflow structure
jenniferboedker aa9b35b
add missing status badges
jenniferboedker 37233b8
add how to run section
jenniferboedker f57ac3d
update license
jenniferboedker 7bd439d
Apply suggestions from code review
jenniferboedker d6cbe09
add new line
jenniferboedker c81b760
Adjust workflows again
jenniferboedker 40d772f
Merge branch 'hotfix/update-repo-documentation' of https://github.com…
jenniferboedker 1525fc9
delete duplicated worklfow
jenniferboedker 49c004b
update workflow
jenniferboedker d55ddb3
add license to readme
jenniferboedker e87b881
remove cl workflow
jenniferboedker 4203fa3
Update .github/release.yml
jenniferboedker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| * @qbicsoftware/itss |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| feature: ['feature/*', 'feat/*'] | ||
| fix: ['fix/*', 'hotfix'] | ||
| chore: ['chore/*', 'documentation/*', 'docs/*', 'ci/*', 'refactor/*'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| changelog: | ||
| exclude: | ||
| labels: | ||
| - ignore-for-release | ||
| authors: | ||
| - JohnnyQ5 | ||
| - github-actions | ||
| categories: | ||
| - title: New Features 🚀 | ||
| labels: | ||
| - feature | ||
| - title: Bugfixes 🪲 | ||
| labels: | ||
| - fix | ||
| - title: Documentation & CI 🪂 | ||
| labels: | ||
| - chore | ||
| - title: Others 🧃 | ||
| labels: | ||
| - "*" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| name: Create Release | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| versionTag: | ||
| description: 'Version Tag (semantic version)' | ||
| required: true | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Set up JDK 1.8 | ||
| uses: actions/setup-java@v1 | ||
| with: | ||
| java-version: 1.8 | ||
| settings-path: ${{ github.workspace }} | ||
|
|
||
| - name: Load local Maven repository cache | ||
| uses: actions/cache@v2 | ||
| with: | ||
| path: ~/.m2/repository | ||
| key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-maven- | ||
| - name: Set up git | ||
| run: | | ||
| git config --global user.email "[email protected]" | ||
| git config --global user.name "JohnnyQ5" | ||
| - name: Set version in Maven project | ||
| run: mvn versions:set -DnewVersion=${{ github.event.inputs.versionTag }} | ||
|
|
||
| - name: Build with Maven | ||
| run: mvn -B package --file pom.xml | ||
|
|
||
| - name: Create Release Notes | ||
| if: ${{ !startsWith(github.ref, 'refs/tags/') | ||
| && !( contains(github.event.inputs.versionTag, 'alpha') | ||
| || contains(github.event.inputs.versionTag, 'beta') | ||
| || contains(github.event.inputs.versionTag, 'rc')) }} | ||
| uses: actions/[email protected] | ||
| with: | ||
| github-token: ${{secrets.GITHUB_TOKEN}} | ||
| script: | | ||
| await github.request(`POST /repos/${{ github.repository }}/releases`, { | ||
| tag_name: "${{ github.event.inputs.versionTag }}", | ||
| generate_release_notes: true | ||
| }); | ||
| - name: Create Pre-Release Notes | ||
| if: ${{ !startsWith(github.ref, 'refs/tags/') | ||
| && ( contains(github.event.inputs.versionTag, 'alpha') | ||
| || contains(github.event.inputs.versionTag, 'beta') | ||
| || contains(github.event.inputs.versionTag, 'rc')) }} | ||
| uses: actions/[email protected] | ||
| with: | ||
| github-token: ${{secrets.GITHUB_TOKEN}} | ||
| script: | | ||
| await github.request(`POST /repos/${{ github.repository }}/releases`, { | ||
| tag_name: "${{ github.event.inputs.versionTag }}", | ||
| generate_release_notes: true, | ||
| prerelease: true | ||
| }); | ||
| - name: Publish artefact to QBiC Nexus Repository | ||
| run: mvn --quiet --settings $GITHUB_WORKSPACE/.github.settings.xml deploy | ||
| env: | ||
| MAVEN_REPO_USERNAME: ${{ secrets.NEXUS_USERNAME }} | ||
| MAVEN_REPO_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} | ||
|
|
||
| - name: Switch to new branch | ||
| run: git checkout -b release/set-version-to-${{ github.event.inputs.versionTag }} | ||
|
|
||
| - name: Checkin commit | ||
| run: git commit . -m 'Set version to ${{ github.event.inputs.versionTag }}' | ||
|
|
||
| - name: Set remote branch | ||
| run: git push --set-upstream origin release/set-version-to-${{ github.event.inputs.versionTag }} | ||
|
|
||
| - name: Open PR with version bump | ||
| uses: actions/[email protected] | ||
| with: | ||
| github-token: ${{secrets.GITHUB_TOKEN}} | ||
| script: | | ||
| await github.request(`POST /repos/${{ github.repository }}/pulls`, { | ||
| title: 'Update version to ${{ github.event.inputs.versionTag }}', | ||
| head: 'release/set-version-to-${{ github.event.inputs.versionTag }}', | ||
| base: 'main' | ||
| }); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| name: Label Pull Requests | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [ opened, edited ] | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: TimonVS/pr-labeler-action@v3 | ||
| with: | ||
| configuration-path: .github/pr-labels.yml # optional, .github/pr-labeler.yml is the default value | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 0 additions & 36 deletions
36
.github/workflows/pr_to_master_from_hotfix_release_only.yml
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.