From e0c892bbaf9f18b951fb5186a4738ce5d14831a4 Mon Sep 17 00:00:00 2001 From: Rak Laptudirm Date: Sat, 2 Apr 2022 20:52:10 +0530 Subject: [PATCH 1/5] chore: only run update directory on `master` --- .github/workflows/UpdateDirectory.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/UpdateDirectory.yml b/.github/workflows/UpdateDirectory.yml index b27a516e0a..e8fda61c26 100644 --- a/.github/workflows/UpdateDirectory.yml +++ b/.github/workflows/UpdateDirectory.yml @@ -1,7 +1,10 @@ # This GitHub Action updates the DIRECTORY.md file (if needed) when doing a git push name: Update Directory -on: [push] +on: + push: + branches: + - master jobs: updateDirectory: From 9baf426372509de42a97df5d73ab4de3a087b803 Mon Sep 17 00:00:00 2001 From: Rak Laptudirm Date: Sat, 2 Apr 2022 21:00:58 +0530 Subject: [PATCH 2/5] chore: move codespell to CI workflow --- .github/workflows/Ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/Ci.yml b/.github/workflows/Ci.yml index 98ee279915..97f978d2c7 100644 --- a/.github/workflows/Ci.yml +++ b/.github/workflows/Ci.yml @@ -4,6 +4,7 @@ on: [push, pull_request] jobs: build: + name: Code style and tests runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -20,3 +21,14 @@ jobs: - name: 💄 Code style run: npm run style + + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: codespell-project/actions-codespell@master + with: + # file types to ignore + skip: "*.json,*.yml,DIRECTORY.md" + ignore_words_list: "ba,esy,yse" From 49891c59398842e6a134e9a4b6bddfb057a51746 Mon Sep 17 00:00:00 2001 From: Rak Laptudirm Date: Sat, 2 Apr 2022 21:01:44 +0530 Subject: [PATCH 3/5] chore: remove codespell workflow(moved) --- .github/workflows/Codespell.yml | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 .github/workflows/Codespell.yml diff --git a/.github/workflows/Codespell.yml b/.github/workflows/Codespell.yml deleted file mode 100644 index 167989af36..0000000000 --- a/.github/workflows/Codespell.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: codespell -on: [push, pull_request] -jobs: - codespell: - name: Check for spelling errors - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: codespell-project/actions-codespell@master - with: - # file types to ignore - skip: "*.json,*.yml,DIRECTORY.md" - ignore_words_list: "ba,esy,yse" From e772c38a1ee7935243d160ee22824627bef72d0b Mon Sep 17 00:00:00 2001 From: Rak Laptudirm Date: Sat, 2 Apr 2022 21:09:28 +0530 Subject: [PATCH 4/5] chore: listen for `push` only on `master` --- .github/workflows/Ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Ci.yml b/.github/workflows/Ci.yml index 97f978d2c7..c548281652 100644 --- a/.github/workflows/Ci.yml +++ b/.github/workflows/Ci.yml @@ -1,6 +1,11 @@ name: Continuous Integration -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + types: [opened, edited, reopened] jobs: build: From 95fee7b7f3c1940bf5b6c2c5f0d5c713df2445d8 Mon Sep 17 00:00:00 2001 From: Rak Laptudirm Date: Sat, 2 Apr 2022 21:13:25 +0530 Subject: [PATCH 5/5] chore: remove `pull_request` type params --- .github/workflows/Ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/Ci.yml b/.github/workflows/Ci.yml index c548281652..68cd98c45b 100644 --- a/.github/workflows/Ci.yml +++ b/.github/workflows/Ci.yml @@ -5,7 +5,6 @@ on: branches: - master pull_request: - types: [opened, edited, reopened] jobs: build: