This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new f8bc51eea Add required status checks for 1.4.x branch (#1547)
f8bc51eea is described below
commit f8bc51eeab7805a5533cf246cfe466ff5984d7c1
Author: PJ Fanning <[email protected]>
AuthorDate: Thu Apr 2 21:34:39 2026 +0200
Add required status checks for 1.4.x branch (#1547)
* Add required status checks for 1.4.x branch
* nightly publish (1.4)
---
.asf.yaml | 12 ++++
.github/workflows/publish-nightly-1.3.yml | 77 ----------------------
...ish-nightly-1.2.yml => publish-nightly-1.4.yml} | 14 ++--
3 files changed, 19 insertions(+), 84 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index d7b046c60..5a1e0667d 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -91,6 +91,18 @@ github:
dismiss_stale_reviews: false
require_code_owner_reviews: false
required_approving_review_count: 1
+ 1.4.x:
+ required_status_checks:
+ # strict means "Require branches to be up to date before merging".
+ strict: false
+ # contexts are the names of checks that must pass
+ contexts:
+ - Code is formatted
+ - Check headers
+ required_pull_request_reviews:
+ dismiss_stale_reviews: false
+ require_code_owner_reviews: false
+ required_approving_review_count: 1
notifications:
commits: [email protected]
diff --git a/.github/workflows/publish-nightly-1.3.yml
b/.github/workflows/publish-nightly-1.3.yml
deleted file mode 100644
index 57a677ebd..000000000
--- a/.github/workflows/publish-nightly-1.3.yml
+++ /dev/null
@@ -1,77 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-name: Publish Nightly (1.3.x)
-
-on:
- workflow_dispatch:
- schedule:
- - cron: "22 0 * * *"
-
-jobs:
- publish:
- # runs on main repo only
- if: github.repository == 'apache/pekko-connectors'
- name: Publish
- runs-on: ubuntu-22.04
- env:
- JAVA_OPTS: -Xms2G -Xmx3G -Xss2M -XX:ReservedCodeCacheSize=256M
-Dfile.encoding=UTF-8
- steps:
- - name: Checkout
- uses: actions/checkout@v6
- with:
- fetch-tags: true
- fetch-depth: 0
- ref: 1.3.x
-
- - name: Setup Java 8
- uses: actions/setup-java@v5
- with:
- distribution: temurin
- java-version: 8
-
- - name: Install sbt
- uses: sbt/setup-sbt@508b753e53cb6095967669e0911487d2b9bc9f41 # v1.1.22
-
- - name: Publish to Apache Maven repo
- env:
- NEXUS_USER: ${{ secrets.NEXUS_USER }}
- NEXUS_PW: ${{ secrets.NEXUS_PW }}
- run: sbt +publish
-
- - name: Build Documentation
- run: |-
- sbt docs/paradox unidoc
-
- # Create directory structure upfront since rsync does not create
intermediate directories otherwise
- - name: Create nightly directory structure
- run: |-
- mkdir -p target/nightly-docs/docs/pekko-connectors/${{
github.ref_name }}-snapshot/
- mv docs/target/paradox/site/main/
target/nightly-docs/docs/pekko-connectors/${{ github.ref_name }}-snapshot/docs
- mv target/scala-2.13/unidoc
target/nightly-docs/docs/pekko-connectors/${{ github.ref_name }}-snapshot/api
-
- - name: Upload nightly docs
- uses: ./.github/actions/sync-nightlies
- with:
- upload: true
- switches: --archive --compress --update --delete --progress
--relative
- local_path: target/nightly-docs/./docs/pekko-connectors/${{
github.ref_name }}-snapshot # The intermediate dot is to show `--relative`
which paths to operate on
- remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko/
- remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
- remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
- remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
- remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}
diff --git a/.github/workflows/publish-nightly-1.2.yml
b/.github/workflows/publish-nightly-1.4.yml
similarity index 86%
rename from .github/workflows/publish-nightly-1.2.yml
rename to .github/workflows/publish-nightly-1.4.yml
index d3d6b6b51..a4e0710e9 100644
--- a/.github/workflows/publish-nightly-1.2.yml
+++ b/.github/workflows/publish-nightly-1.4.yml
@@ -15,12 +15,12 @@
# specific language governing permissions and limitations
# under the License.
-name: Publish Nightly (1.2.x)
+name: Publish Nightly (1.4.x)
on:
workflow_dispatch:
schedule:
- - cron: "22 0 * * *"
+ - cron: "0 23 * * *"
jobs:
publish:
@@ -36,7 +36,7 @@ jobs:
with:
fetch-tags: true
fetch-depth: 0
- ref: 1.2.x
+ ref: 1.4.x
- name: Setup Java 8
uses: actions/setup-java@v5
@@ -60,16 +60,16 @@ jobs:
# Create directory structure upfront since rsync does not create
intermediate directories otherwise
- name: Create nightly directory structure
run: |-
- mkdir -p target/nightly-docs/docs/pekko-connectors/${{
github.ref_name }}-snapshot/
- mv docs/target/paradox/site/main/
target/nightly-docs/docs/pekko-connectors/${{ github.ref_name }}-snapshot/docs
- mv target/scala-2.13/unidoc
target/nightly-docs/docs/pekko-connectors/${{ github.ref_name }}-snapshot/api
+ mkdir -p target/nightly-docs/docs/pekko-connectors/1.4.x-snapshot/
+ mv docs/target/paradox/site/main/
target/nightly-docs/docs/pekko-connectors/1.4.x-snapshot/docs
+ mv target/scala-2.13/unidoc
target/nightly-docs/docs/pekko-connectors/1.4.x-snapshot/api
- name: Upload nightly docs
uses: ./.github/actions/sync-nightlies
with:
upload: true
switches: --archive --compress --update --delete --progress
--relative
- local_path: target/nightly-docs/./docs/pekko-connectors/${{
github.ref_name }}-snapshot # The intermediate dot is to show `--relative`
which paths to operate on
+ local_path:
target/nightly-docs/./docs/pekko-connectors/1.4.x-snapshot # The intermediate
dot is to show `--relative` which paths to operate on
remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko/
remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]