diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index df484b25..31623120 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -29,6 +29,9 @@ categories: labels: - 'automation' # When automation is updated - 'ci' # When automation is updated + - title: '🎨 Redesign' + labels: + - 'redesign' # When it's a redesign feature exclude-labels: - 'changelog:skip' # When a PR should be excluded from the changelog version-resolver: diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index 645f3c37..8c145128 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -66,6 +66,10 @@ jobs: - name: Bootstrap Action Workspace if: github.repository == 'elastic/docs-builder' && steps.check-files.outputs.any_changed == 'true' uses: ./.github/actions/bootstrap + + - name: Set REDESIGN feature flag + if: contains(github.event.pull_request.labels.*.name, 'redesign') + run: echo "REDESIGN=true" >> $GITHUB_ENV # we run our artifact directly please use the prebuild # elastic/docs-builder@main GitHub Action for all other repositories!