Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
fix

Update reviewdog.yml

Update entrypoint.sh

Create broken_yaml.yaml

test
  • Loading branch information
massongit committed Jan 12, 2025
1 parent 62c0281 commit 86bc0f4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/broken_yaml.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
on: push
jobs:
linux:
runs-on: ubuntu-latest
steps:
- run: foo:
11 changes: 11 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@ jobs:
uses: ./
with:
tool_name: actionlint
fail_level: error
- run: |
cd dir; process *; cd ..; # Use subshells instead
[[ -z $(find /tmp | grep mpg) ]] # Use grep -q instead
a >> log; b >> log; c >> log # Use a redirection block instead
echo "The time is `date`" # Use $() instead
cd dir; process *; cd ..; # Use subshells instead
echo $[1+2] # Use standard $((..)) instead of old $[]
echo $(($RANDOM % 6)) # Don't use $ on variables in $((..))
echo "$(date)" # Useless use of echo
cat file | grep foo # Useless use of cat
reviewdog:
name: runner / reviewdog
Expand Down

0 comments on commit 86bc0f4

Please sign in to comment.