Skip to content

ci: only run workflow handle-release-pr-title-edit for release PRs #91

ci: only run workflow handle-release-pr-title-edit for release PRs

ci: only run workflow handle-release-pr-title-edit for release PRs #91

Workflow file for this run

name: Release Doctor
on:
pull_request:
workflow_dispatch:
jobs:
release_doctor:
name: release doctor
runs-on: ubuntu-latest
if: github.repository == 'Modern-Treasury/modern-treasury-java' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
steps:
- uses: actions/checkout@v3
- name: Check release environment
run: |
bash ./bin/check-release-environment
env:
STAINLESS_API_KEY: ${{ secrets.STAINLESS_API_KEY }}
SONATYPE_USERNAME: ${{ secrets.MODERN_TREASURY_SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.MODERN_TREASURY_SONATYPE_PASSWORD }}
GPG_SIGNING_KEY_ID: ${{ secrets.MODERN_TREASURY_SONATYPE_GPG_SIGNING_KEY_ID }}
GPG_SIGNING_KEY: ${{ secrets.MODERN_TREASURY_SONATYPE_GPG_SIGNING_KEY }}
GPG_SIGNING_PASSWORD: ${{ secrets.MODERN_TREASURY_SONATYPE_GPG_SIGNING_PASSWORD }}