From 727b3811ae7907438094390c1b912eae4cbd67a3 Mon Sep 17 00:00:00 2001 From: Kate Higa <16447748+khiga8@users.noreply.github.com> Date: Fri, 16 Jun 2023 11:11:01 -0400 Subject: [PATCH 1/3] Update workflow file --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e63353b5..b00ff1a6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,8 @@ -name: Run unit tests -on: push - +name: CI +on: [push, pull_request, workflow_dispatch] jobs: - accessibility_alt_text_bot: + tests: + name: Run unit tests runs-on: ubuntu-latest steps: - name: Checkout repo @@ -12,4 +12,3 @@ jobs: run: | ls ./test-flag-alt-text.sh - From 1b5aef84c46a6b114b3effe8d08cfa1e22a702b2 Mon Sep 17 00:00:00 2001 From: Kate Higa <16447748+khiga8@users.noreply.github.com> Date: Fri, 16 Jun 2023 11:19:31 -0400 Subject: [PATCH 2/3] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b00ff1a6..74181335 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ name: CI -on: [push, pull_request, workflow_dispatch] +on: push jobs: tests: name: Run unit tests From 195bb3aa196a4656d007d4d7c09f55404e398436 Mon Sep 17 00:00:00 2001 From: Kate Higa <16447748+khiga8@users.noreply.github.com> Date: Fri, 16 Jun 2023 11:31:38 -0400 Subject: [PATCH 3/3] Update ci.yml --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74181335..0851c766 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,9 @@ name: CI -on: push +on: + push: + branches: ["main"] + workflow_dispatch: + pull_request: jobs: tests: name: Run unit tests