Update spell-check workflow configuration
This commit is contained in:
		
							parent
							
								
									8af22d0852
								
							
						
					
					
						commit
						e1838db156
					
				|  | @ -11,5 +11,5 @@ File | Purpose | Format | Info | ||||||
| [expect.txt](expect.txt) | Expected words that aren't in the dictionary | one word per line (sorted, alphabetically) | [expect](https://github.com/check-spelling/check-spelling/wiki/Configuration#expect) | [expect.txt](expect.txt) | Expected words that aren't in the dictionary | one word per line (sorted, alphabetically) | [expect](https://github.com/check-spelling/check-spelling/wiki/Configuration#expect) | ||||||
| [advice.txt](advice.txt) | Supplement for GitHub comment when unrecognized words are found | GitHub Markdown | [advice](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice) | [advice.txt](advice.txt) | Supplement for GitHub comment when unrecognized words are found | GitHub Markdown | [advice](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice) | ||||||
| 
 | 
 | ||||||
| Note: you can replace any of these files with a directory by the same name (minus the suffix) | Note: you can replace any of these files with a directory by the same name (minus the `.txt` extension) and | ||||||
| and then include multiple files inside that directory (with that suffix) to merge multiple files together. | then include multiple files (with a `.txt` extension) inside that directory to merge multiple files together. | ||||||
|  |  | ||||||
|  | @ -1,4 +1,5 @@ | ||||||
| <!-- See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice --> <!-- markdownlint-disable MD033 MD041 --> | <!-- See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice --> <!-- markdownlint-disable MD033 MD041 --> | ||||||
|  | 
 | ||||||
| <details><summary>If you see a bunch of garbage</summary> | <details><summary>If you see a bunch of garbage</summary> | ||||||
| 
 | 
 | ||||||
| If it relates to a ... | If it relates to a ... | ||||||
|  |  | ||||||
|  | @ -1,10 +1,13 @@ | ||||||
| # See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-excludes | # See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-excludes | ||||||
|  | 
 | ||||||
| (?:^|/)(?i)COPYRIGHT | (?:^|/)(?i)COPYRIGHT | ||||||
| (?:^|/)(?i)LICEN[CS]E | (?:^|/)(?i)LICEN[CS]E | ||||||
| (?:^|/)package(?:-lock|)\.json$ | (?:^|/)package(?:-lock|)\.json$ | ||||||
| (?:^|/)vendor/ | (?:^|/)vendor/ | ||||||
|  | 
 | ||||||
| /fonts/ | /fonts/ | ||||||
| ignore$ | ignore$ | ||||||
|  | 
 | ||||||
| \.avi$ | \.avi$ | ||||||
| \.eot$ | \.eot$ | ||||||
| \.ico$ | \.ico$ | ||||||
|  | @ -20,6 +23,7 @@ ignore$ | ||||||
| \.wav$ | \.wav$ | ||||||
| \.woff$ | \.woff$ | ||||||
| \.woff2$ | \.woff2$ | ||||||
|  | 
 | ||||||
| ^docs/pages/redirects/github\.html$ | ^docs/pages/redirects/github\.html$ | ||||||
| ^lib/jekyll/mime\.types$ | ^lib/jekyll/mime\.types$ | ||||||
| ^lib/theme_template/example/index\.html$ | ^lib/theme_template/example/index\.html$ | ||||||
|  |  | ||||||
|  | @ -158,6 +158,7 @@ Emacs | ||||||
| emails | emails | ||||||
| emoji | emoji | ||||||
| endcapture | endcapture | ||||||
|  | endcomment | ||||||
| endfor | endfor | ||||||
| endhighlight | endhighlight | ||||||
| endif | endif | ||||||
|  | @ -165,7 +166,7 @@ endraw | ||||||
| endrender | endrender | ||||||
| endtablerow | endtablerow | ||||||
| Enumerables | Enumerables | ||||||
| eol | EOL | ||||||
| erb | erb | ||||||
| errordocument | errordocument | ||||||
| Espinaco | Espinaco | ||||||
|  |  | ||||||
|  | @ -9,31 +9,42 @@ https?://(?:(?:www\.|)youtube\.com|youtu.be)/(?:channel/|embed/|playlist\?list=| | ||||||
| <\s*youtube\s+id=['"][-a-zA-Z0-9?_]*['"] | <\s*youtube\s+id=['"][-a-zA-Z0-9?_]*['"] | ||||||
| \bimg\.youtube\.com/vi/[-a-zA-Z0-9?&=_]* | \bimg\.youtube\.com/vi/[-a-zA-Z0-9?&=_]* | ||||||
| youtube_id:\s*[-a-zA-Z0-9?&=_]* | youtube_id:\s*[-a-zA-Z0-9?&=_]* | ||||||
|  | 
 | ||||||
| # Google Analytics | # Google Analytics | ||||||
| \bgoogle-analytics\.com/collect.[-0-9a-zA-Z?%=&_.~]* | \bgoogle-analytics\.com/collect.[-0-9a-zA-Z?%=&_.~]* | ||||||
|  | 
 | ||||||
| # Google APIs | # Google APIs | ||||||
| \bgoogleapis\.com/[a-z]+/v\d+/[a-z]+/[@./?=\w]+ | \bgoogleapis\.com/[a-z]+/v\d+/[a-z]+/[@./?=\w]+ | ||||||
| \b[-a-zA-Z0-9.]*\bstorage\d*\.googleapis\.com(?:/\S*|) | \b[-a-zA-Z0-9.]*\bstorage\d*\.googleapis\.com(?:/\S*|) | ||||||
|  | 
 | ||||||
| # Google Calendar | # Google Calendar | ||||||
| \bcalendar\.google\.com/calendar(?:/u/\d+|)/embed\?src=[@./?=\w&%]+ | \bcalendar\.google\.com/calendar(?:/u/\d+|)/embed\?src=[@./?=\w&%]+ | ||||||
| \w+\@group\.calendar\.google\.com\b | \w+\@group\.calendar\.google\.com\b | ||||||
|  | 
 | ||||||
| # Google DataStudio | # Google DataStudio | ||||||
| \bdatastudio\.google\.com/(?:(?:c/|)u/\d+/|)(?:embed/|)(?:open|reporting|datasources|s)/[-0-9a-zA-Z]+(?:/page/[-0-9a-zA-Z]+|) | \bdatastudio\.google\.com/(?:(?:c/|)u/\d+/|)(?:embed/|)(?:open|reporting|datasources|s)/[-0-9a-zA-Z]+(?:/page/[-0-9a-zA-Z]+|) | ||||||
|  | 
 | ||||||
| # The leading `/` here is as opposed to the `\b` above | # The leading `/` here is as opposed to the `\b` above | ||||||
| # ... a short way to match `https://` or `http://` since most urls have one of those prefixes | # ... a short way to match `https://` or `http://` since most urls have one of those prefixes | ||||||
| # Google Docs | # Google Docs | ||||||
| /docs\.google\.com/[a-z]+/d/(?:e/|)[0-9a-zA-Z_-]+/? | /docs\.google\.com/[a-z]+/d/(?:e/|)[0-9a-zA-Z_-]+/? | ||||||
|  | 
 | ||||||
| # Google Groups | # Google Groups | ||||||
| https://groups\.google\.com/d/topic/[^/]+/[a-zA-Z0-9]+/discussion | https://groups\.google\.com/d/topic/[^/]+/[a-zA-Z0-9]+/discussion | ||||||
| https://groups\.google\.com/d/msg/[^/]+/[a-zA-Z0-9]+/[a-zA-Z0-9]+ | https://groups\.google\.com/d/msg/[^/]+/[a-zA-Z0-9]+/[a-zA-Z0-9]+ | ||||||
|  | 
 | ||||||
| # Google themes | # Google themes | ||||||
| themes\.googleusercontent\.com/static/fonts/[^/]+/v\d+/[^.]+. | themes\.googleusercontent\.com/static/fonts/[^/]+/v\d+/[^.]+. | ||||||
|  | 
 | ||||||
| # Google CDN | # Google CDN | ||||||
| \bclients2\.google(?:usercontent|)\.com[-0-9a-zA-Z/.]* | \bclients2\.google(?:usercontent|)\.com[-0-9a-zA-Z/.]* | ||||||
|  | 
 | ||||||
| # Goo.gl | # Goo.gl | ||||||
| /goo\.gl/[a-zA-Z0-9]+ | /goo\.gl/[a-zA-Z0-9]+ | ||||||
|  | 
 | ||||||
| # Google Chrome Store | # Google Chrome Store | ||||||
| \bchrome\.google\.com/webstore/detail/\w*(?:/\w*|) | \bchrome\.google\.com/webstore/detail/\w*(?:/\w*|) | ||||||
|  | 
 | ||||||
| # google_site_verification: | # google_site_verification: | ||||||
| google_site_verification: [-a-zA-Z=;:/0-9+]* | google_site_verification: [-a-zA-Z=;:/0-9+]* | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,19 +1,22 @@ | ||||||
| name: Spell checking | name: Spell Check | ||||||
| on: | on: | ||||||
|   pull_request_target: |  | ||||||
|   push: |   push: | ||||||
|  |     branches: | ||||||
|  |       - master | ||||||
|  |       - "*-stable" | ||||||
|  |   # Switch from `pull_request_target` event to reduce distraction from comments | ||||||
|  |   # regarding errors reported in unmodified files. | ||||||
|  |   pull_request: | ||||||
|  |     branches: | ||||||
|  |       - master | ||||||
|  |       - "*-stable" | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|   build: |   build: | ||||||
|     name: Spell checking |     name: Spell Check | ||||||
|     runs-on: ubuntu-latest |     runs-on: "ubuntu-latest" | ||||||
|     steps: |     steps: | ||||||
|     - name: checkout-merge |     - name: Checkout Repository | ||||||
|       if: "contains(github.event_name, 'pull_request')" |       uses: actions/checkout@v2 | ||||||
|       uses: actions/checkout@v2.0.0 |     - name: Check Spellings | ||||||
|       with: |       uses: check-spelling/check-spelling@v0.0.19 | ||||||
|         ref: refs/pull/${{github.event.pull_request.number}}/merge |  | ||||||
|     - name: checkout |  | ||||||
|       if: "!contains(github.event_name, 'pull_request')" |  | ||||||
|       uses: actions/checkout@v2.0.0 |  | ||||||
|     - uses: check-spelling/check-spelling@v0.0.19 |  | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue