Skip to content

Commit

Permalink
github: todos: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hedger committed Aug 25, 2023
1 parent e306090 commit 3b32796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint_and_submodule_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
id: check_todos
if: github.event_name == 'pull_request'
run: |
git diff --unified=0 --no-color ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep -E '^\+' | grep -i -E '(TODO|FIXME|HACK|XXX) ' | grep -v '-nofl' | tee lines.log;
git diff --unified=0 --no-color ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep -E '^\+' | grep -i -E '(TODO|FIXME|HACK|XXX) ' | grep -v -- '-nofl' | tee lines.log;
MISSING_TICKETS=$( grep -E '\[FL-[0-9]+\]' lines.log );
if [ -n "$MISSING_TICKETS" ]; then
echo "Error: Missing ticket number in \`TODO\` comment(s)" >> $GITHUB_STEP_SUMMARY;
Expand Down

0 comments on commit 3b32796

Please sign in to comment.