From 606eef6a68bef4112d5e69e4f16b5490bd6db790 Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Thu, 22 May 2025 15:13:07 +0200 Subject: [PATCH 1/3] Run PR checks on on main and rename to "ci" --- .github/workflows/{pr.yml => ci.yml} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename .github/workflows/{pr.yml => ci.yml} (97%) diff --git a/.github/workflows/pr.yml b/.github/workflows/ci.yml similarity index 97% rename from .github/workflows/pr.yml rename to .github/workflows/ci.yml index 84f51fb2c..df0f1a27c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,9 @@ -name: PR +name: ci on: + push: + branches: + - main pull_request: permissions: From 18e44fc99057616a8a11a9b7a56bd165602e8b30 Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Thu, 22 May 2025 15:15:15 +0200 Subject: [PATCH 2/3] Add status badge --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 7d3b1a39a..7e4eed204 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # docs-builder +[![PR](https://github.com/elastic/docs-builder/actions/workflows/ci.yml/badge.svg?branch=main&event=push)](https://github.com/elastic/docs-builder/actions/workflows/ci.yml) + You've reached the home of the latest incarnation of the documentation tooling. This repository is host to: From 3252c5835cc6cd64536c05a7ba0ccea9b7e52d3e Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Thu, 22 May 2025 15:16:18 +0200 Subject: [PATCH 3/3] Fix name --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e4eed204..46d7a6464 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # docs-builder -[![PR](https://github.com/elastic/docs-builder/actions/workflows/ci.yml/badge.svg?branch=main&event=push)](https://github.com/elastic/docs-builder/actions/workflows/ci.yml) +[![ci](https://github.com/elastic/docs-builder/actions/workflows/ci.yml/badge.svg?branch=main&event=push)](https://github.com/elastic/docs-builder/actions/workflows/ci.yml) You've reached the home of the latest incarnation of the documentation tooling.