Skip to content

Create DEVGUIDE.md #186

Create DEVGUIDE.md

Create DEVGUIDE.md #186

Workflow file for this run

name: Publish Releases
on:
workflow_dispatch:
inputs:
bump:
type: choice
required: true
description: What kind of bump
options:
- major
- minor
- patch
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@v4
- uses: actions/setup-python@v5
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 }}