Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wate committed May 4, 2024
1 parent 72c3562 commit d30510d
Show file tree
Hide file tree
Showing 3 changed files with 275 additions and 7 deletions.
16 changes: 10 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-json
- id: check-yaml
Expand All @@ -16,16 +16,20 @@ repos:
args:
- --markdown-linebreak-ext=md
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.38.0
rev: v0.40.0
hooks:
- id: markdownlint-fix
- repo: https://github.com/RyoWakabayashi/pre-commit-mirrors-textlint
rev: v12.2.1
- repo: https://github.com/wate/pre-commit-mirrors-textlint
rev: v14.0.4-1
hooks:
- id: textlint-fix
additional_dependencies:
- textlint-filter-rule-comments
- textlint-rule-preset-ja-technical-writing
- textlint-rule-preset-ja-spacing
- textlint-rule-prh
- id: textlint
args: [--fix]
additional_dependencies:
- textlint
- textlint-filter-rule-comments
- textlint-rule-preset-ja-technical-writing
- textlint-rule-preset-ja-spacing
Expand Down
2 changes: 1 addition & 1 deletion automations/tasks/add_meeting_log.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
register: api_result
- name: ログの内容(6行目以降)を出力用変数に割り当て
ansible.builtin.set_fact:
meeting_log: "{{ api_result.json.content.split('\n')[6:] | join('\n') }}"
meeting_log: "{{ api_result.json.content.split('\n')[2:] | join('\n') }}"
- name: 開催ログファイルを作成
ansible.builtin.template:
src: histudy.md.j2
Expand Down
Loading

0 comments on commit d30510d

Please sign in to comment.