chore(deps): update all non-major dependencies #3586
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: 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/gh-get-current-pr@3.0.0 | |
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/release-semantic.yml@2.3.1 | |
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@v3 | |
- name: checkout | |
# From https://github.com/actions/checkout/issues/438#issuecomment-1114110354 | |
# Required to fetch enough depth for diffs with master in the pre-commit step. | |
# Alternative is to use the checkout action with fetch-depth: 0, but that would | |
# fetch the whole history, potentially slowing down the CI pipeline. | |
run: | | |
commits=${{ github.event.pull_request.commits }} | |
if [[ -n "$commits" ]]; then | |
# Prepare enough depth for diffs with master | |
git fetch --depth="$(( commits + 1 ))" | |
fi | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: '3.11' | |
- uses: pre-commit/action@v3.0.1 | |
with: | |
extra_args: '--from-ref origin/master --to-ref ${{ github.sha }}' | |
build: | |
name: Build | |
uses: dargmuesli/github-actions/.github/workflows/docker.yml@2.3.1 | |
needs: release_semantic_dry | |
with: | |
TAG: ${{ needs.release_semantic_dry.outputs.new_release_version }} | |
release_semantic: | |
needs: build | |
name: Release (semantic) | |
uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@2.3.1 | |
permissions: | |
contents: write | |
secrets: | |
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} |