Configures renovate to cover v1.5; adds v1.5 scheduled CI runs #1374
Workflow file for this run
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
name: Main branch CI | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
schedule: | |
- cron: "0 7 * * 0" | |
jobs: | |
codeql: | |
name: CodeQL Analysis | |
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected] | |
check-libraries: | |
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected] | |
secrets: | |
CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }} | |
lint-report: | |
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected] | |
terraform-check: | |
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected] | |
static-analysis: | |
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected] | |
unit-tests-with-coverage: | |
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected] | |
build: | |
needs: | |
- lint-report | |
- static-analysis | |
- unit-tests-with-coverage | |
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected] | |
secrets: inherit | |
integration-test: | |
needs: | |
- build | |
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected] | |
publish-charm: | |
name: Publish Charm | |
needs: | |
- lint-report | |
- static-analysis | |
- unit-tests-with-coverage | |
- integration-test | |
if: ${{ github.ref_name == 'main' }} | |
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected] | |
with: | |
track-name: 1.6 | |
secrets: | |
CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }} | |
publish-charm-on-push: | |
name: Publish Developer Charm To Branch | |
needs: | |
- lint-report | |
- static-analysis | |
- unit-tests-with-coverage | |
- integration-test | |
if: ${{ (github.ref_name != 'main') && (github.event_name == 'push') }} | |
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected] | |
with: | |
branch-name: ${{ github.ref_name }} | |
track-name: 1.6 | |
secrets: | |
CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }} | |