From 1d1486795b74c3374f00596716d3b5c94fd2b9c5 Mon Sep 17 00:00:00 2001 From: Matthieu Michaud Date: Wed, 11 Dec 2024 23:50:47 +0100 Subject: [PATCH] Don't run CI twice on PR (#7) --- .github/workflows/ci.yml | 6 ++++-- README.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 253f3e7..fcb0e2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,8 +2,10 @@ name: CI on: - - push - - pull_request + push: + branches: + - main + pull_request: jobs: test: diff --git a/README.md b/README.md index 1405f56..1ea3cb4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://github.com/ohmer/asdf-terragrunt/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/ohmer/asdf-terragrunt/actions/workflows/ci.yml) +[![CI](https://github.com/ohmer/asdf-terragrunt/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/ohmer/asdf-terragrunt/actions/workflows/ci.yml) # asdf-terragrunt