Create DEVGUIDE.md #186
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: 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 }} |