Skip to content

Commit d3e1bc3

Browse files
stainless-botstainless-app[bot]
authored andcommitted
chore(ci): rely on Stainless GitHub App for releases (#144)
1 parent 79bb987 commit d3e1bc3

5 files changed

Lines changed: 6 additions & 78 deletions

File tree

.github/workflows/create-releases.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/workflows/handle-release-pr-title-edit.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/publish-sonatype.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
# workflow for re-running publishing to Sonatype in case it fails for some reason
2-
# you can run this workflow by navigating to https://www.github.com/lithic-com/lithic-java/actions/workflows/publish-sonatype.yml
1+
# This workflow is triggered when a GitHub release is created.
2+
# It can also be run manually to re-publish to Sonatype in case it failed for some reason.
3+
# You can run this workflow by navigating to https://www.github.com/lithic-com/lithic-java/actions/workflows/publish-sonatype.yml
34
name: Publish Sonatype
45
on:
56
workflow_dispatch:
67

8+
release:
9+
types: [published]
10+
711
jobs:
812
publish:
913
name: publish

.github/workflows/release-doctor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
run: |
1717
bash ./bin/check-release-environment
1818
env:
19-
STAINLESS_API_KEY: ${{ secrets.STAINLESS_API_KEY }}
2019
SONATYPE_USERNAME: ${{ secrets.LITHIC_SONATYPE_USERNAME || secrets.SONATYPE_USERNAME }}
2120
SONATYPE_PASSWORD: ${{ secrets.LITHIC_SONATYPE_PASSWORD || secrets.SONATYPE_PASSWORD }}
2221
GPG_SIGNING_KEY_ID: ${{ secrets.LITHIC_SONATYPE_GPG_SIGNING_KEY_ID || secrets.GPG_SIGNING_KEY_ID }}

bin/check-release-environment

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
errors=()
44

5-
if [ -z "${STAINLESS_API_KEY}" ]; then
6-
errors+=("The STAINLESS_API_KEY secret has not been set. Please contact Stainless for an API key & set it in your organization secrets on GitHub.")
7-
fi
8-
95
if [ -z "${SONATYPE_USERNAME}" ]; then
106
errors+=("The LITHIC_SONATYPE_USERNAME secret has not been set. Please set it in either this repository's secrets or your organization secrets")
117
fi

0 commit comments

Comments
 (0)