Skip to content

Configure Renovate

Configure Renovate #55

Workflow file for this run

name: Main Pipeline
on:
push:
branches:
- main
pull_request_target:
types:
- opened
- synchronize
- reopened
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install dependencies
run: pip3 install -r dev-requirements.txt
- name: Run Lint
run: inv cf
# - name: Run Unit Tests
# run: inv t
# - name: SonarCloud Scan
# uses: sonarsource/sonarcloud-github-action@master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
analyze:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: python
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
release:
needs:
- validate
- analyze
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: pip3 install -r dev-requirements.txt
- name: Run Release
run: |
git config --global user.email "bots@baileyeverts.com"
git config --global user.name "Semantic Release Bot"
semantic-release publish -v DEBUG
env:
REPOSITORY_PASSWORD: ${{ secrets.REPOSITORY_PASSWORD }}