WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Support reading cspell.json from a URL #869

@Nightblade

Description

@Nightblade

Description

Can't use cspell.json from a URL.

To Reproduce

  1. Create a minimal cspell-action.yml in a repo (note the config: param) :
name: 'cspell-action-test'

on:
  pull_request:
  push:
  workflow_dispatch:

jobs:
  spellcheck:
    runs-on: ubuntu-latest
    steps:
      - name: Check out repo
        uses: actions/checkout@v3

      - name: Run cspell-action
        uses: streetsidesoftware/[email protected]
        with:
          config: 'https://raw.githubusercontent.com/Nightblade/pob-dict/main/cspell.json'
  1. Run the action.
  2. Check the action's log.
  3. See error: Error: Configuration file "https://raw.githubusercontent.com/Nightblade/pob-dict/main/cspell.json" not found.
  4. Details: https://github.com/Nightblade/PathOfBuilding/runs/7643610725?check_suite_focus=true

Expected behavior

Allow using cspell.json (and dictionaries) from a URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions