Skip to content

add a helpful perm warning to 403 errors #122

add a helpful perm warning to 403 errors

add a helpful perm warning to 403 errors #122

Workflow file for this run

name: Publish Releases
on:
workflow_dispatch:
inputs:
bump:
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@v2
- uses: actions/setup-python@v1
with:
python-version: 3.8
- 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 }}