-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from com-pas/develop
Merge branch 'develop' into main
- Loading branch information
Showing
71 changed files
with
1,116 additions
and
362 deletions.
There are no files selected for viewing
This file contains 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 contains 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,29 @@ | ||
# SPDX-FileCopyrightText: 2021 Alliander N.V. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
version: 2 | ||
|
||
registries: | ||
maven-github: | ||
type: maven-repository | ||
url: https://maven.pkg.github.com/com-pas/* | ||
username: OWNER | ||
password: ${{ secrets.DB_GITHUB_PACKAGES }} | ||
|
||
updates: | ||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
open-pull-requests-limit: 5 | ||
|
||
# Maintain dependencies for Maven | ||
- package-ecosystem: "maven" | ||
directory: "/" | ||
registries: | ||
- maven-github | ||
schedule: | ||
interval: "daily" | ||
open-pull-requests-limit: 5 |
This file contains 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,40 @@ | ||
# SPDX-FileCopyrightText: 2021 Alliander N.V. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: Add issues and pull request to project boards | ||
|
||
on: [ issues, pull_request ] | ||
|
||
jobs: | ||
github-actions-automate-projects: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: add-new-issues-to-repository-based-project-column | ||
uses: docker://takanabe/github-actions-automate-projects:v0.0.1 | ||
if: github.event_name == 'issues' && github.event.action == 'opened' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_PROJECT_URL: https://github.com/com-pas/compas-scl-xsd/projects/1 | ||
GITHUB_PROJECT_COLUMN_NAME: To do | ||
- name: add-new-pull-request-to-repository-based-project-column | ||
uses: docker://takanabe/github-actions-automate-projects:v0.0.1 | ||
if: github.event_name == 'pull_request' && github.event.action == 'opened' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_PROJECT_URL: https://github.com/com-pas/compas-scl-xsd/projects/1 | ||
GITHUB_PROJECT_COLUMN_NAME: To do | ||
- name: add-new-issues-to-organization-based-project-column | ||
uses: docker://takanabe/github-actions-automate-projects:v0.0.1 | ||
if: github.event_name == 'issues' && github.event.action == 'opened' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ORG_GITHUB_ACTION_SECRET }} | ||
GITHUB_PROJECT_URL: https://github.com/orgs/com-pas/projects/1 | ||
GITHUB_PROJECT_COLUMN_NAME: To do | ||
- name: add-new-pull-request-to-organization-based-project-column | ||
uses: docker://takanabe/github-actions-automate-projects:v0.0.1 | ||
if: github.event_name == 'pull_request' && github.event.action == 'opened' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ORG_GITHUB_ACTION_SECRET }} | ||
GITHUB_PROJECT_URL: https://github.com/orgs/com-pas/projects/2 | ||
GITHUB_PROJECT_COLUMN_NAME: To do |
This file contains 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,23 @@ | ||
# SPDX-FileCopyrightText: 2021 Alliander N.V. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: Build Project | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 1.11 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'zulu' | ||
java-version: '11' | ||
- name: Build with Maven | ||
run: ./mvnw -B clean verify |
This file contains 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 contains 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 contains 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 was deleted.
Oops, something went wrong.
This file contains 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,36 @@ | ||
# SPDX-FileCopyrightText: 2021 Alliander N.V. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: Release Project | ||
|
||
on: | ||
release: | ||
types: [released] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Extract tag name | ||
id: extract_tagname | ||
shell: bash | ||
# Extra the tagname form the git reference, value of GITHUB_REF will be something like refs/tags/<tag_name>. | ||
run: echo "##[set-output name=tagname;]$(echo ${GITHUB_REF##*/})" | ||
- name: Set up JDK 1.11 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'zulu' | ||
java-version: '11' | ||
- name: Set version with Maven | ||
run: ./mvnw -B versions:set -DprocessAllModules=true -DnewVersion=${{ steps.extract_tagname.outputs.tagname }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Deploy with Maven to GitHub Packages | ||
run: ./mvnw -B -Prelease clean deploy | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains 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 @@ | ||
# SPDX-FileCopyrightText: 2021 Alliander N.V. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: REUSE Compliance Check | ||
|
||
on: push | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: REUSE Compliance Check | ||
uses: fsfe/reuse-action@v1 |
This file contains 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 |
---|---|---|
@@ -1,5 +1,15 @@ | ||
# SPDX-FileCopyrightText: 2021 Alliander N.V. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Ignore Gradle build output directory | ||
build | ||
|
||
.gradle | ||
.project | ||
.project | ||
target | ||
|
||
# IDE specific | ||
.vscode/ | ||
.idea | ||
*.iml |
Oops, something went wrong.