This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 68140b327ab HDDS-17711. Add Fork CI Ping workflow (#11948)
68140b327ab is described below
commit 68140b327ab852e04965c8cd7f5fa5f9f0d0cbab
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Thu Nov 5 20:54:06 2026 +0100
HDDS-17711. Add Fork CI Ping workflow (#11948)
---
.../{fork-ci-status.yaml => fork-ci-ping.yaml} | 39 ++++++++++------------
.github/workflows/fork-ci-status.yaml | 6 ++++
2 files changed, 23 insertions(+), 22 deletions(-)
diff --git a/.github/workflows/fork-ci-status.yaml
b/.github/workflows/fork-ci-ping.yaml
similarity index 63%
copy from .github/workflows/fork-ci-status.yaml
copy to .github/workflows/fork-ci-ping.yaml
index ebb690675f2..9bf985f8c94 100644
--- a/.github/workflows/fork-ci-status.yaml
+++ b/.github/workflows/fork-ci-ping.yaml
@@ -13,33 +13,28 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-name: Fork CI status
+name: Fork CI ping
on:
- schedule:
- - cron: '6,21,36,51 * * * *'
- workflow_dispatch:
+ pull_request:
+ types:
+ - edited
+ - opened
+ - ready_for_review
+ - reopened
+ - synchronize
+ branches:
+ # the list should match base-branches in fork-ci-status.yaml
+ - master
-permissions:
- actions: read
- checks: write
- pull-requests: read
-
-concurrency:
- group: fork-ci-status
- cancel-in-progress: false
+permissions: {}
jobs:
- bridge:
+ ping:
if: github.repository_owner == 'apache'
runs-on: ubuntu-slim
- timeout-minutes: 10
+ timeout-minutes: 1
steps:
- - uses: apache/infrastructure-actions/fork-ci@fork-ci/v1
- with:
- workflow: post-commit.yml
- base-branches: |
- master
- check-name: build-branch (fork)
- recent-hours: 6
- sweep-minutes: '15'
+ - name: ping
+ run: |
+ echo 'This job just pings `Fork CI status` workflow that the PR was
created or updated.'
diff --git a/.github/workflows/fork-ci-status.yaml
b/.github/workflows/fork-ci-status.yaml
index ebb690675f2..ce3b8b37a1d 100644
--- a/.github/workflows/fork-ci-status.yaml
+++ b/.github/workflows/fork-ci-status.yaml
@@ -20,6 +20,12 @@ on:
- cron: '6,21,36,51 * * * *'
workflow_dispatch:
+ # fork-ci-status only reads API metadata and writes checks.
+ # It does not run PR code, read artifacts, approve workflows, or edit PRs.
+ workflow_run: # zizmor: ignore[dangerous-triggers]
+ workflows: [Fork CI ping]
+ types: [completed]
+
permissions:
actions: read
checks: write
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]