Skip to content

Commit

Permalink
chore(gitignore): ignore log file like *.err and *.log (#3915)
Browse files Browse the repository at this point in the history
In our development pratices, it's common to name stdout and stderr
output log as *.log and *.err, respectively, based on informal
observation within our team.

This patch adds *.log and *.err to the .gitignore file to ensure they
are ignored by Git. Notably, *.log is already ignored due to existing
rules, and there is no source files in the projects with a *.err
extension. As such, this patch is safe.

This patch also adds .gitignore into .github/filters.yaml to sikp ci. It
seems no need to run CI again when .gitignore is modified.
  • Loading branch information
cebarobot authored Nov 22, 2024
1 parent 92bcee1 commit f12520c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/filters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ core:
- "!.github/filters.yaml"
- "!.github/workflows/nightly.yml"
- "!.github/workflows/perf.yml"
- "!.gitignore"
- "!**/*.md"
- "!LICENSE"
- "!images/**"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -363,5 +363,8 @@ stack.info*

!ready-to-run/*

# Log files
simulator_err.txt
simulator_out.txt
*.log
*.err

0 comments on commit f12520c

Please sign in to comment.