roboluke/.gitea/workflows/release.yml
Luke Tainton 1766ad712a
All checks were successful
Build Docker / Create Docker Image (release) Successful in 5m18s
Snyk / security (push) Successful in 4m23s
feat(ci): fix CI, switch to SonarQube self-hosted (#337)
Reviewed-on: repos/roboluke-tasks#337
2025-02-09 21:29:47 +01:00

31 lines
799 B
YAML

name: Release
on:
workflow_dispatch:
schedule:
- cron: "0 9 * * 0"
jobs:
test:
name: Test
uses: https://git.tainton.uk/repos/roboluke-tasks/.gitea/workflows/ci.yml@main
with:
python-version: 3.13
secrets:
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }}
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
create_release:
name: Create Release
needs: test
uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/create-release.yml@main
secrets:
ACTIONS_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
print_release:
name: Print Release
runs-on: ubuntu-latest
needs: create_release
steps:
- run: echo "Created release ${{ needs.create_release.outputs.release_name }}."