diff --git a/.github/workflows/release_notes.yml b/.github/workflows/release_notes.yml deleted file mode 100644 index 501c4892..00000000 --- a/.github/workflows/release_notes.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: Release Notes Generator - -on: - workflow_dispatch: - inputs: - branch: - description: 'Branch to merge release notes into.' - required: true - default: 'main' - version: - description: - 'Version to use for the release. Must be in format: X.Y.Z.' - date: - description: - 'Date of the release. Must be in format YYYY-MM-DD.' - -jobs: - releasenotesgeneration: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up Python 3.10 - uses: actions/setup-python@v5 - with: - python-version: '3.10' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install requests==2.31.0 - - - name: Generate release notes - env: - GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} - run: > - python -m scripts.release_notes_generator - -v ${{ inputs.version }} - -d ${{ inputs.date }} - - - name: Create pull request - id: cpr - uses: peter-evans/create-pull-request@v4 - with: - token: ${{ secrets.GH_ACCESS_TOKEN }} - commit-message: Release notes for v${{ inputs.version }} - author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" - committer: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" - title: v${{ inputs.version }} Release Notes - body: "This is an auto-generated PR to update the release notes." - branch: release-notes - branch-suffix: short-commit-hash - base: ${{ inputs.branch }} diff --git a/.github/workflows/static_code_analysis.yml b/.github/workflows/static_code_analysis.yml deleted file mode 100644 index e5dfac04..00000000 --- a/.github/workflows/static_code_analysis.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Static Code Analysis - -on: - release: - types: [published] - workflow_dispatch: - -jobs: - code-analysis: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up Python 3.10 - uses: actions/setup-python@v5 - with: - python-version: '3.10' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install bandit==1.7.7 - - name: Save code analysis - run: bandit -r . -x ./tests,./scripts -f txt -o static_code_analysis.txt --exit-zero - - name: Create pull request - id: cpr - uses: peter-evans/create-pull-request@v4 - with: - token: ${{ secrets.GH_ACCESS_TOKEN }} - commit-message: Update static code analysis - author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" - committer: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" - title: Latest Code Analysis - body: "This is an auto-generated PR with the **latest** code analysis results." - branch: static-code-analysis - branch-suffix: short-commit-hash - base: main