Skip to content

Commit

Permalink
chore(create-release.yml): remove unnecessary permissions and fix ind…
Browse files Browse the repository at this point in the history
…entation

chore(extension-attach-artifact-release.yml): remove unnecessary empty line
chore(extension-release-published.yml): remove unnecessary permissions and fix indentation
chore(extension-release-published.yml): rename 'release-prepare' job to 'maven-release' for clarity
  • Loading branch information
jandroav committed Aug 3, 2023
1 parent 0d13772 commit 6db9900
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: Create Release

on:
workflow_call:

permissions:
contents: write
pull-requests: write

jobs:
sonar:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/extension-attach-artifact-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ on:
required: true

jobs:

attach-to-release:
name: Attach Artifact to Release
if: github.event.pull_request.merged == true
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/extension-release-published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
SONATYPE_TOKEN:
description: 'SONATYPE_TOKEN from the caller workflow'
required: true

permissions:
contents: write
pull-requests: write

jobs:
release:
Expand Down Expand Up @@ -70,7 +66,7 @@ jobs:
-Dtypes=jar.asc,jar.asc,jar.asc,pom.asc \
-Dclassifiers=,sources,javadoc,
release-prepare:
maven-release:
needs: release
uses: liquibase/build-logic/.github/workflows/[email protected]
secrets: inherit

0 comments on commit 6db9900

Please sign in to comment.