Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarRuikar committed Dec 20, 2024
1 parent c0f18e3 commit db1103d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/pr-check-lint_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ jobs:
if [[ -n $(git diff) ]]; then
echo "FILES_MODIFIED=true" >> $GITHUB_ENV
PRETTIER_LOG=$(yarn prettier --check ${files_to_lint} 2>&1)
echo "PRETTIER_LOG<<${EOF}" >> $GITHUB_ENV
echo "${PRETTIER_LOG}" >> $GITHUB_ENV
echo "${EOF}" >> $GITHUB_ENV
fi
# info for troubleshooting
Expand Down Expand Up @@ -148,10 +153,17 @@ jobs:
- name: Fail if any issues pending
if: env.FILES_MODIFIED == 'true' || env.MD_LINT_FAILED == 'true' || env.FM_LINT_FAILED == 'true'
env:
MD_LINT_LOG: ${{ env.MD_LINT_LOG }}
FM_LINT_LOG: ${{ env.FM_LINT_LOG }}
PRETTIER_LOG: ${{ env.PRETTIER_LOG }}
run: |
echo -e "\nPlease fix all the linting issues mentioned in the following logs and in the PR review comments."
echo -e "\nLogs from markdownlint:"
echo "${MD_LINT_LOG}"
echo -e "\nLogs from front-matter linter:"
echo "${FM_LINT_LOG}"
echo -e "\nPlease fix all the linting issues mentioned in above logs and in the review comments."
echo -e "\n\nLogs from Prettier formatter:"
echo "${PRETTIER_LOG}"
echo -e "\nYou can use Prettier playground to format the files online: https://prettier.io/playground/#N4Igxg9gdgLgprEAuEIA0IIAcYEtoDOyoAhgE5kQDuACuQkSiQDZUkCeRGARmSWAGs4MAMokAtnAAyuKHGQAzFgTg8+g4SKz9ZAc2QwyAV1UgV43AeOm4ADyxwyuSbBYAVR1HK44jJcxUMAj1mOABFIwh4RWVTACsCWxEQ8MjopH9AkABHNLgaSixGEBICAFo5OAATavQQQxJcZj0AYQhxcRJkEuZmOuCoXVCAQRhDXG4jeBpHGTkYgNMACxhxZgB1Jdx4Am0wOBEGbdwAN232brACLhATkwBJKBrYETAnHGGnkRh2UIWsrCUFTrPhYbqA3yOE7yDCyFRkGAFEi6Tr-UzaMjw7qdMgCKrUKB1QGyGDrXBVGBLZAADgADBgyHBcrhGUiUV0MrEMDASNwyRSqUgAEwYIwqNy8vxckBwcTcao1KpSEiDIzIuAAMQgZE6Yz03RIUwgIAAviagA \n"
exit 1
4 changes: 4 additions & 0 deletions .vscode/dictionaries/terms-abbreviations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ANMF
anonymization
antialiasing
antitracking
apideck
APNG
appcontent
arcosh
Expand Down Expand Up @@ -529,6 +530,7 @@ quickmenu
qvalues
QWERTZ
randomizer
rari
rasterizes
RDBMS
RDBMSes
Expand Down Expand Up @@ -562,6 +564,7 @@ retarget
retargeted
retargeting
retargetings
reviewdog
RFCOMM
RGTC
roadmaps
Expand Down Expand Up @@ -879,6 +882,7 @@ xrayed
Xrays
XRCPU
XSSI
yari
yearless
Zalgo
zoomable
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/html/element/summary/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ The CSS includes the `[open]` [attribute selector](/en-US/docs/Web/CSS/Attribute

#### HTML

```html-nolint
```html
<details>
<h1>Quotes from Helen Keller</h1>
<h1>Quotes from Helen Keller</h2>
<summary>On women's rights</summary>
<p>
<q>We have prayed, we have coaxed, we have begged, for the vote, with the
Expand Down

0 comments on commit db1103d

Please sign in to comment.