diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8f9702..1c39c26 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,10 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "20.x" @@ -24,3 +24,13 @@ jobs: - name: Lint run: yarn lint + + typos: + name: Detect typos + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Run typos + uses: crate-ci/typos@v1.17.0 diff --git a/.github/workflows/combine-prs.yml b/.github/workflows/combine_prs.yml similarity index 98% rename from .github/workflows/combine-prs.yml rename to .github/workflows/combine_prs.yml index 355898b..42bba3f 100644 --- a/.github/workflows/combine-prs.yml +++ b/.github/workflows/combine_prs.yml @@ -18,7 +18,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -name: 'Combine PRs' +name: 'Combine Dependabot PRs' # Controls when the action will run - in this case triggered manually on: @@ -165,7 +165,7 @@ jobs: await github.rest.pulls.create({ owner: context.repo.owner, repo: context.repo.repo, - title: 'Combined PR', + title: 'Combined Dependabot PRs', head: '${{ github.event.inputs.combineBranchName }}', base: baseBranch, body: body diff --git a/src/components/HeaderMenu.tsx b/src/components/HeaderMenu.tsx index 1299ad1..4dab7d2 100644 --- a/src/components/HeaderMenu.tsx +++ b/src/components/HeaderMenu.tsx @@ -76,7 +76,7 @@ const LoggedInHeaderMenuBody: React.FC = ({ myData }) => { - + @@ -100,7 +100,7 @@ const LoggedOutHeaderMenuBody: React.FC = () => { - + @@ -185,7 +185,7 @@ const MenuItemToggleColorTheme: React.FC = () => { ); }; -const MenuItemSwitchLangage: React.FC = () => { +const MenuItemSwitchLanguage: React.FC = () => { const { t, i18n } = useTranslation(); const onLangChange = (v: string) => { diff --git a/src/states/nostr.ts b/src/states/nostr.ts index 88d0b1d..1639916 100644 --- a/src/states/nostr.ts +++ b/src/states/nostr.ts @@ -567,7 +567,7 @@ const applyStatusUpdate = (ev: NostrEvent) => { } jotaiStore.set(followingsStatusesAtom, new Map(statusesMap)); } else { - // status update with emtpy content -> invalidate + // status update with empty content -> invalidate invalidationScheduler.cancel(pubkey, category); invalidateStatus(pubkey, category); }