From d677d7b3053a6906ba91422beca5be1d44701ee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20L=C3=BCscher?= Date: Tue, 30 Apr 2024 18:47:22 +0000 Subject: [PATCH] chore(ci): streamline ci configuration with bluefin project --- .github/semantic.yml | 3 +++ .github/workflows/conventional-commits.yml | 15 --------------- ...{release-please.yml => generate_changelog.yml} | 14 ++++++-------- 3 files changed, 9 insertions(+), 23 deletions(-) create mode 100644 .github/semantic.yml delete mode 100644 .github/workflows/conventional-commits.yml rename .github/workflows/{release-please.yml => generate_changelog.yml} (50%) diff --git a/.github/semantic.yml b/.github/semantic.yml new file mode 100644 index 0000000..d90d1fe --- /dev/null +++ b/.github/semantic.yml @@ -0,0 +1,3 @@ +--- +enabled: true +titleOnly: true diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml deleted file mode 100644 index f539196..0000000 --- a/.github/workflows/conventional-commits.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Conventional Commits - -on: - pull_request: - branches: - - main - -jobs: - build: - name: Conventional Commits - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: webiny/action-conventional-commits@v1.3.0 diff --git a/.github/workflows/release-please.yml b/.github/workflows/generate_changelog.yml similarity index 50% rename from .github/workflows/release-please.yml rename to .github/workflows/generate_changelog.yml index 1ce8eeb..54db10d 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/generate_changelog.yml @@ -1,5 +1,4 @@ -name: release-please - +--- on: push: branches: @@ -7,19 +6,18 @@ on: permissions: contents: write + checks: write + actions: read + packages: write pull-requests: write +name: Generate Changelog jobs: release-please: runs-on: ubuntu-latest - outputs: - releases_created: ${{ steps.release-please.outputs.releases_created }} - tag: ${{ steps.release-please.outputs.tag_name }} - upload_url: ${{ steps.release-please.outputs.upload_url }} steps: - uses: google-github-actions/release-please-action@v4 + id: release-please with: release-type: simple package-name: release-please-action - prerelease: true - bump-minor-pre-major: true