From fc47fa94ea4d27e218629963d4b5b4b6655a9629 Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Fri, 12 Apr 2024 13:33:33 +0200 Subject: [PATCH] use shared worklows from crafty --- .github/labeler.yml | 3 ++- .github/release.yml | 20 ++++++++++++++++++++ .github/workflows/labeler.yml | 16 ++++++++-------- .github/workflows/release.yml | 12 ++++++++++++ 4 files changed, 42 insertions(+), 9 deletions(-) create mode 100644 .github/release.yml create mode 100644 .github/workflows/release.yml diff --git a/.github/labeler.yml b/.github/labeler.yml index 27bf9b7d..87011454 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,2 +1,3 @@ +--- skip-changelog: - - head-branch: ['^release-*', 'release'] + - head-branch: ['^release-*'] diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 00000000..bced958f --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,20 @@ +--- +# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes + +changelog: + exclude: + labels: + - skip-changelog + + categories: + - title: Breaking Changes 🛠 + labels: + - backwards-incompatible + + - title: New Features 🎉 + labels: + - enhancement + + - title: Other Changes + labels: + - "*" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index e57cd86e..90acd522 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,12 +1,12 @@ -name: "Pull Request Labeler" +--- on: -- pull_request_target + push: + tags: + - '*' jobs: labeler: - permissions: - contents: read - pull-requests: write - runs-on: ubuntu-latest - steps: - - uses: actions/labeler@v5 + name: Labeler + uses: voxpupuli/crafty/.github/workflows/labeler.yml@main + with: + allowed_owner: ${{ github.repository_owner }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..058ec48c --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,12 @@ +--- +on: + push: + tags: + - '*' + +jobs: + release: + name: Release + uses: voxpupuli/crafty/.github/workflows/release.yml@main + with: + allowed_owner: ${{ github.repository_owner }}