Skip to content

DOCS: reference modules file in hope that it also exists on readthedocs #917

DOCS: reference modules file in hope that it also exists on readthedocs

DOCS: reference modules file in hope that it also exists on readthedocs #917

Workflow file for this run

---
name: CI
on: [push, pull_request]
jobs:
call-quality:
name: Code Quality
uses: ./.github/workflows/quality.yml
secrets: inherit
call-builds:
name: Builds
uses: ./.github/workflows/builds.yml
secrets: inherit
call-webapp:
name: Webapp
uses: ./.github/workflows/webapp.yml
secrets: inherit
call-deploy:
if: github.event_name != 'pull_request'
needs:
- call-quality
- call-builds
name: Deploy Source
uses: ./.github/workflows/deploy.yml
secrets: inherit
draft-release:
if: github.event_name == 'push' && startsWith( github.ref, 'refs/tags/' )
needs:
- call-webapp
- call-deploy
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Generate a changelog
id: changelog
uses: metcalfc/changelog-generator@v1.0.0
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
- name: Print the changelog
run: echo "${{ steps.changelog.outputs.changelog }}"
- name: Create draft release
id: draft_release
uses: actions/create-release@v1
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ${{ steps.changelog.outputs.changelog }}
draft: true