Skip to content

Commit

Permalink
ci(typos): run typos check weekly (#3858)
Browse files Browse the repository at this point in the history
Co-authored-by: StackOverflowExcept1on <[email protected]>
  • Loading branch information
clearloop and StackOverflowExcept1on authored Apr 3, 2024
1 parent b5bbfb3 commit d130e12
Show file tree
Hide file tree
Showing 14 changed files with 111 additions and 81 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
schedule:
- cron: "0 3 * * *"
push:
branches: [ master ]
branches: [master]
workflow_dispatch:

concurrency:
Expand All @@ -29,6 +29,7 @@ jobs:
win-native: true
release: true
production: true

upload:
if: github.event_name == 'push' && github.ref_name == 'master'
runs-on: ubuntu-latest
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: PR

on:
pull_request:
branches: [ master ]
branches: [master]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -16,13 +16,6 @@ env:
BINARYEN_VERSION: version_111

jobs:
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: typos-action
uses: crate-ci/typos@master

status:
runs-on: ubuntu-latest
outputs:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Weekly

on:
schedule:
# Running this workflow weekly, see https://crontab.guru/#0_0_*_*_0
- cron: "0 0 * * 0"

jobs:
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: typos-action
uses: crate-ci/typos@master
Loading

0 comments on commit d130e12

Please sign in to comment.