From 135c805e28ac1afd7a92b9a345f9a3073d75d1f6 Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Sat, 11 Nov 2023 21:22:18 +0100 Subject: [PATCH 1/4] feat: run on pushes to `main` --- .github/workflows/checks.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 8efb941..659e407 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -1,6 +1,9 @@ name: Checks on: + push: + branches: + - main pull_request: branches: - main From c16f93ef940b9fe1bc2ffc1906637873fc2c5216 Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Sat, 11 Nov 2023 21:30:05 +0100 Subject: [PATCH 2/4] docs: badges at the top of readme --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 8ed42be..6554df0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # Keyweave +[github](https://github.com/bartvdbraak/keyweave) +[crates.io](https://crates.io/crates/keyweave) +[docs.rs](https://docs.rs/keyweave) +[build status](https://github.com/bartvdbraak/keyweave/actions/workflows/checks.yml) + Cluster Keyweave is an open-source tool crafted to seamlessly fetch secrets from Azure Key Vault and weave them into a convenient `.env` file. Developed in Rust, Keyweave stands out for its efficiency and user-friendly design, making it an ideal choice for managing your application's secrets. From 7f1e459daaf02697e3fcdd7eb878d628b5e9b0d2 Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Sat, 11 Nov 2023 21:34:17 +0100 Subject: [PATCH 3/4] feat: change build badge to use checks status --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6554df0..19863b8 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [github](https://github.com/bartvdbraak/keyweave) [crates.io](https://crates.io/crates/keyweave) [docs.rs](https://docs.rs/keyweave) -[build status](https://github.com/bartvdbraak/keyweave/actions/workflows/checks.yml) +[build status](https://github.com/bartvdbraak/keyweave/actions/workflows/checks.yml) Cluster From 2e124fac616bcf76c631028c823682ecc476bb5a Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Sat, 11 Nov 2023 21:39:03 +0100 Subject: [PATCH 4/4] feat: add paths to workflow trigger --- .github/workflows/checks.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 659e407..df67ff3 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -2,11 +2,11 @@ name: Checks on: push: - branches: - - main + branches: [ main ] + paths: [ 'src/**', 'Cargo.toml', 'Cargo.lock' ] pull_request: - branches: - - main + branches: [ main ] + paths: [ 'src/**', 'Cargo.toml', 'Cargo.lock' ] jobs: fmt: