From 591a7fcd43422259450af94025e64adb9062efb5 Mon Sep 17 00:00:00 2001 From: justinpolygon <123573436+justinpolygon@users.noreply.github.com> Date: Thu, 10 Oct 2024 23:54:48 -0700 Subject: [PATCH 1/2] ci: Prevent CI workflows on bot commits and README updates --- .github/workflows/codeql.yml | 2 ++ .github/workflows/lint.yml | 2 ++ .github/workflows/test-coverage.yml | 4 +++- .github/workflows/test.yml | 2 ++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 5e5152aa..99c18292 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -3,6 +3,8 @@ on: push: branches: - master + paths-ignore: + - 'README.md' pull_request: branches: - master diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 47f554ff..45ff060c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,6 +5,8 @@ on: - v* branches: - master + paths-ignore: + - 'README.md' pull_request: permissions: contents: read diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index 9e693169..88d63fcc 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -5,6 +5,8 @@ on: - v* branches: - master + paths-ignore: + - 'README.md' pull_request: permissions: contents: write @@ -40,7 +42,7 @@ jobs: git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add README.md - git commit -m "chore: Updated coverage badge." + git commit -m "chore: Updated coverage badge. [skip ci]" git fetch origin && git rebase origin/master - name: push-changes if: steps.verify-changed-files.outputs.files_changed == 'true' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 04f1d9c6..7a0df3d7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,6 +5,8 @@ on: - v* branches: - master + paths-ignore: + - 'README.md' pull_request: permissions: contents: read From 309f678f58fd81d99c044e8370982a5b23c4ffda Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 11 Oct 2024 07:00:53 +0000 Subject: [PATCH 2/2] chore: Updated coverage badge. [skip ci] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f6152f77..b0f82d4b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Polygon Go Client -![Coverage](https://img.shields.io/badge/Coverage-77.4%25-brightgreen) +![Coverage](https://img.shields.io/badge/Coverage-77.1%25-brightgreen)