Skip to content

Master into dev/2.14.0 2.15.0 dev #6804

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

Merged
merged 9 commits into from
Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .github/workflows/submodule-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
name: Update DefectDojo Inc. Documentation

on:
push:
branches: [master, dev]

jobs:
build:
name: Submodule update
runs-on: ubuntu-latest
env:
PARENT_REPOSITORY: 'DefectDojo-Inc/Documentation'
OWNER: 'DefectDojo-Inc'

steps:
- name: Determine target branch
id: branch-target
run: |
if [ ! -z ${GITHUB_BASE_REF} ]; then
echo ::set-output name=branch::${GITHUB_BASE_REF}
else
echo ::set-output name=branch::${GITHUB_REF#refs/heads/}
fi

- name: Checkout DefectDojo from dev
uses: actions/checkout@v2
if: steps.branch-target.outputs.branch == 'dev'
with:
ref: dev

- name: Create PR to Documentation repo on dev branch
id: create_dev_pr
uses: releasehub-com/github-action-create-pr-parent-submodule@v1
if: steps.branch-target.outputs.branch == 'dev'
with:
github_token: ${{ secrets.DOCUMENTATION_TOKEN }}
parent_repository: ${{ env.PARENT_REPOSITORY }}
checkout_branch: dev
pr_against_branch: dev
owner: ${{ env.OWNER }}

- name: Checkout DefectDojo from master
uses: actions/checkout@v2
if: steps.branch-target.outputs.branch == 'master'
with:
ref: master

- name: Create PR to Documentation repo on master branch
id: create_master_pr
uses: releasehub-com/github-action-create-pr-parent-submodule@v1
if: steps.branch-target.outputs.branch == 'master'
with:
github_token: ${{ secrets.DOCUMENTATION_TOKEN }}
parent_repository: ${{ env.PARENT_REPOSITORY }}
checkout_branch: master
pr_against_branch: master
owner: ${{ env.OWNER }}
2 changes: 1 addition & 1 deletion components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "defectdojo",
"version": "2.14.0-dev",
"version": "2.15.0-dev",
"license" : "BSD-3-Clause",
"private": true,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion dojo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
# Django starts so that shared_task will use this app.
from .celery import app as celery_app # noqa

__version__ = '2.14.0-dev'
__version__ = '2.15.0-dev'
__url__ = 'https://github.com/DefectDojo/django-DefectDojo'
__docs__ = 'https://defectdojo.github.io/django-DefectDojo'
4 changes: 2 additions & 2 deletions helm/defectdojo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: "2.14.0-dev"
appVersion: "2.15.0-dev"
description: A Helm chart for Kubernetes to install DefectDojo
name: defectdojo
version: 1.6.37-dev
version: 1.6.39-dev
icon: https://www.defectdojo.org/img/favicon.ico
maintainers:
- name: madchap
Expand Down