Skip to content

Commit

Permalink
Merge pull request #15 from Interhyp/feature/po-delegate
Browse files Browse the repository at this point in the history
Feature/po delegate
  • Loading branch information
Silthus authored Oct 6, 2022
2 parents fc6de30 + 95769cf commit 9e4af27
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

release:
name: 🚀 Release
if: github.ref == 'refs/heads/releases' # change to main to enable when we've stabilized the rest of the build
if: github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest
steps:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/snyk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 🔐 Security Scan
on: push
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/golang@master
continue-on-error: true # To make sure that SARIF upload gets called
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
SNYK_API: "https://app.eu.snyk.io/api"
with:
args: --sarif-file-output=snyk.sarif
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: snyk.sarif
2 changes: 1 addition & 1 deletion api-generator/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ -d "api-generator" ]; then
cd api-generator
fi

GENERATOR_VERSION="6.0.1"
GENERATOR_VERSION="6.2.0"
GENERATOR="openapi-generator-cli-$GENERATOR_VERSION.jar"

if [ ! -f "$GENERATOR" ]; then
Expand Down
2 changes: 2 additions & 0 deletions api/v1/apimodel.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions docs/openapi-v3-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -1905,6 +1905,19 @@
"description": "The product owner of this owner space",
"example": "kschlangenheld"
},
"promoters": {
"type": "array",
"description": "A list of users that are allowed to promote services in this owner space",
"items": {
"type": "string",
"description": "The username of a user allowed to promote services in this owner space",
"example": "kschlangenheld"
},
"example": [
"kschlangenheld",
"someotheruser"
]
},
"defaultJiraProject": {
"type": "string",
"description": "The default jira project that is used by this owner space",
Expand Down

0 comments on commit 9e4af27

Please sign in to comment.