Skip to content

Commit

Permalink
Merge pull request #623 from aireilly/main
Browse files Browse the repository at this point in the history
Adjust workflows
  • Loading branch information
aireilly authored Sep 7, 2023
2 parents 27996f9 + bd7be5e commit dd375b2
Show file tree
Hide file tree
Showing 6 changed files with 303 additions and 256 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ jobs:
retention-days: 7
- name: Validate internal and external links
run: htmltest
- name: Validate vale rules
id: validate-rules
run: tools/validate-vale-rules.sh
- name: Validate language changes
run: |
tools/validate-language-changes.sh
- name: Validate shell scripts changes
run: tools/validate-shell-scripts.sh
29 changes: 29 additions & 0 deletions .github/workflows/validate-rules.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Validate Vale rules

on:
pull_request:
paths:
- .vale/styles/**/*
- .vale/fixtures/**/*

jobs:
validate-rules:
name: Validate rules
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Install Vale and validate rules
run: |
sudo gem install asciidoctor
curl -s https://api.github.com/repos/errata-ai/vale/releases/latest | grep "browser_download_url.*Linux_64-bit.tar.gz" | cut -d : -f 2,3 | tr -d \" | wget -qi -
mkdir bin && tar -xvzf *Linux_64-bit.tar.gz -C bin
export PATH=./bin:"$PATH"
vale -v
chmod +x tools/validate-vale-rules.sh
./tools/validate-vale-rules.sh
21 changes: 21 additions & 0 deletions .github/workflows/validate-scripts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Validate scripts

on:
pull_request:
paths:
- tools/**
jobs:
validate-rules:
name: Validate scripts
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 # enable git diff and building many branches
- name: Validate scripts
run: |
chmod +x tools/validate-shell-scripts.sh
./tools/validate-shell-scripts.sh
252 changes: 252 additions & 0 deletions .vale/fixtures/RedHat/TermsErrors/testinvalid.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,207 @@ initial caps
Internet address
Intranet
invoke
io
IPI
irrecoverable
is shipped with
jar
JavaBean
joblog
jobstream
judgement
keep in mind
kernelspace
kick off
L10N
l10n
labelled
labour
large page
last name
learnings
learnt
leave out
left most
left-arrow key
left-hand
left-justified
left-justify
left-most
line cord
link edit
link editing
live broker
live only
loadtime
log into
log off of
log onto
logfile
lots of
main directory
make file
man day
man hour
manipulation button
manpage
masterbrand
matrices
memory stick
menu driven
menubar
menudriven
meta data
meta-data
microcomputer
motherboard
mountpoint
mouse button 1
mouse button 2
mouse over
mouse-button
mousebutton
multi site
multi-channel
multi-processing
multi-site
multi-tenant
multi-tier
multi-tiered
multijobbing
MV
nameserver
network-centric computing
new-line
newsfeed
nextgen
non-secure
nonrecoverable
nonsecure
notion
NWSAA
off-boarding
off-load
offline storage
omni-channel
on demand
on ramp
on the fly
on the other hand
on-boarding
on-line
on-ramp
oops
op-code
open-source
OpenShit
ops
organise
organised
organising
orientate
over ride
over-ride
pain point
parent task
parent/child
passive broker
pathname
PCOMM
perfcounter
perimeter network
phillips screw
phillips screwdriver
phone
PL/1
plain-text
plaintext
planar board
plug in
plug ins
Plug-and-Play
plug-in
plug-ins
pm
Pod Cast
Podcast
pojo
pop-up list
pop-up menu
pop-up window
pops up
pow wow
power down
power up
poweroff
poweron
practise
preventative
print friendly
prior to
program product
programmed operator
Programming Language/I
proof of concepts
pseudo code
pseudo ops
pseudoops
publish-subscribe
pub/sub
pull down
read-write
recognise
recreate
Red Hat Java
Red Hat Open Java Development Kit
Red Hat OpenJDK
regex
remote-access
requestor
RHOJDK
right double-click
right now
right-hand
right-justified
right-justify
right-most
round table
round-robin task dispatching
rule of thumb
run level
run-time
S 390
sanity check
schemata
screencap
screensaver
scroll bar
second name
secondary storage
segregate
segregation
selection button
send out
serial database
serverside
set-up
Sharename
shift-click
ships with
short cut
shortcut key
shortcut menu
sign into
sign off of
signoff
signon
Simple Object Access Protocol
single quote
single signon
slave
smartcard
smartpaper
SME routine
snapset
snapsets
so long as
Expand Down Expand Up @@ -385,3 +586,54 @@ unzip
up grade
up-sell
up-selling
up-stream
up-time
updatable
upgradable
UPI
upward compatible
USB thumb drive
useable
utilize
vanilla
versus
video-mode
virtual diskette
virtual diskette drive
virtual DOS machine
virtual hard disk
virtual-equals-real
virtual-equals-virtual
vs
w/ this
w/o
wait condition
war room
warm boot
warmstart
warning notice
web cast
web master
web site
web-enable
webmistress
white hat hacker
whitelist
whitepaper
wi-fi
wild card
wiring closet
wish
work flow
work group
work load
work space
work station
would like
XSA
xsite
zero out
zeroes
zip file
zonegroup
Zulu time
Loading

0 comments on commit dd375b2

Please sign in to comment.