Skip to content

chore(deps): lock file maintenance #3945

chore(deps): lock file maintenance

chore(deps): lock file maintenance #3945

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- alpha
- beta
- master
- renovate/**
jobs:
prepare_jobs:
name: "Prepare: job optimization"
runs-on: ubuntu-latest
outputs:
pr_found: ${{ steps.pr.outputs.pr_found }}
steps:
- name: Get current PR
id: pr
uses: 8BitJonny/[email protected]
with:
filterOutClosed: true
sha: ${{ github.event.pull_request.head.sha }}
release_semantic_dry:
needs: prepare_jobs
name: Release (semantic, dry)
uses: dargmuesli/github-actions/.github/workflows/[email protected]
if: needs.prepare_jobs.outputs.pr_found == 'false' || github.event_name == 'pull_request'
secrets:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
DRY_RUN: true
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: pre-commit/[email protected]
build:
name: Build
uses: dargmuesli/github-actions/.github/workflows/[email protected]
needs: [release_semantic_dry, pre-commit]
with:
TAG: ${{ needs.release_semantic_dry.outputs.new_release_version }}
release_semantic:
needs: build
name: Release (semantic)
uses: dargmuesli/github-actions/.github/workflows/[email protected]
permissions:
contents: write
secrets:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}