Skip to content

Bump black from 26.1.0 to 26.3.1 #393

Bump black from 26.1.0 to 26.3.1

Bump black from 26.1.0 to 26.3.1 #393

Workflow file for this run

name: Publish Releases
on:
workflow_dispatch:
inputs:
bump:
type: choice
required: true
description: What kind of bump
options:
- patch
- minor
- major
pull_request:
types:
- closed
permissions:
contents: write
pull-requests: write
jobs:
publish:
runs-on: ubuntu-latest
if: github.event_name == 'workflow_dispatch' || (startsWith(github.event.pull_request.head.ref, 'release/') && github.event.pull_request.merged)
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: 3.12
- run: pip install PyGithub semver
- run: make publish
env:
DOCKER_IMAGE: ghcr.io/juliaregistries/tagbot
DOCKER_USERNAME: christopher-dG
DOCKER_PASSWORD: ${{ secrets.GHCR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SSH_KEY: ${{ secrets.SSH_KEY }}