Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update workflow #6288

Merged
merged 59 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
cd7e444
update workflow
mirnawong1 Oct 15, 2024
5a49bfd
add warning
mirnawong1 Oct 15, 2024
e74b899
add warning
mirnawong1 Oct 15, 2024
5763354
add gh cli
mirnawong1 Oct 15, 2024
e0d8c80
add failure
mirnawong1 Oct 15, 2024
c12216b
update
mirnawong1 Oct 15, 2024
feabd27
update
mirnawong1 Oct 15, 2024
9f44d18
update
mirnawong1 Oct 15, 2024
193ef1e
update
mirnawong1 Oct 15, 2024
7afc640
update
mirnawong1 Oct 15, 2024
5df20a1
update
mirnawong1 Oct 15, 2024
3a15b30
update
mirnawong1 Oct 15, 2024
ae7576c
update
mirnawong1 Oct 15, 2024
56e689b
update
mirnawong1 Oct 15, 2024
c86b6c7
update
mirnawong1 Oct 15, 2024
1b8429f
update
mirnawong1 Oct 15, 2024
55092f0
update
mirnawong1 Oct 15, 2024
4c7dc69
update
mirnawong1 Oct 15, 2024
9b7450a
update
mirnawong1 Oct 15, 2024
69d8ae9
update
mirnawong1 Oct 15, 2024
26fd03f
update
mirnawong1 Oct 15, 2024
5c93ab2
update
mirnawong1 Oct 15, 2024
4fde9f8
update
mirnawong1 Oct 15, 2024
e7f5301
update
mirnawong1 Oct 15, 2024
dcf0f14
update
mirnawong1 Oct 15, 2024
194b1e6
update
mirnawong1 Oct 15, 2024
14f32e4
update
mirnawong1 Oct 15, 2024
e0b5c29
update
mirnawong1 Oct 15, 2024
dcfb9c5
update
mirnawong1 Oct 15, 2024
2042e0e
update
mirnawong1 Oct 15, 2024
05af0be
update
mirnawong1 Oct 15, 2024
ba37926
update
mirnawong1 Oct 15, 2024
98e4987
update
mirnawong1 Oct 15, 2024
08ce370
update
mirnawong1 Oct 15, 2024
aa62de1
update
mirnawong1 Oct 15, 2024
8d7c009
update
mirnawong1 Oct 15, 2024
571810b
update
mirnawong1 Oct 15, 2024
ba096a7
update
mirnawong1 Oct 15, 2024
7902f08
update
mirnawong1 Oct 15, 2024
78d8430
update
mirnawong1 Oct 15, 2024
5a68a70
update
mirnawong1 Oct 15, 2024
4e9c9f6
update
mirnawong1 Oct 15, 2024
012e90c
update
mirnawong1 Oct 15, 2024
879607b
update
mirnawong1 Oct 15, 2024
20b9b7d
update
mirnawong1 Oct 15, 2024
1c985f4
update
mirnawong1 Oct 15, 2024
f449b0e
update
mirnawong1 Oct 15, 2024
4018748
update
mirnawong1 Oct 15, 2024
18cca3f
update
mirnawong1 Oct 15, 2024
e0576d0
update
mirnawong1 Oct 15, 2024
84dbb3f
update
mirnawong1 Oct 15, 2024
4e9d99e
update
mirnawong1 Oct 15, 2024
697483b
update
mirnawong1 Oct 15, 2024
eee1c68
update
mirnawong1 Oct 15, 2024
65d281e
update
mirnawong1 Oct 15, 2024
c1b53c7
update
mirnawong1 Oct 15, 2024
758c130
update
mirnawong1 Oct 15, 2024
6c3516a
update
mirnawong1 Oct 15, 2024
b2f819f
Merge branch 'current' into update-vale
mirnawong1 Oct 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ jobs:
separator: ' '
version: '2.27.0'

- name: Post summary comment
if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
run: |
COMMENT="❗️Oh no, some Vale linting found issues! Please check the **Files change** tab for detailed results and make the necessary updates."
COMMENT+=$'\n'
COMMENT+=$'\n\n'
COMMENT+="➡️ Link to detailed report: [Files changed](${{ github.event.pull_request.html_url }}/files)"
gh pr comment ${{ github.event.pull_request.number }} --body "$COMMENT"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Post summary comment
# if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
# run: |
# COMMENT="❗️Oh no, some Vale linting found issues! Please check the **Files change** tab for detailed results and make the necessary updates."
# COMMENT+=$'\n'
# COMMENT+=$'\n\n'
# COMMENT+="➡️ Link to detailed report: [Files changed](${{ github.event.pull_request.html_url }}/files)"
# gh pr comment ${{ github.event.pull_request.number }} --body "$COMMENT"
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28 changes: 11 additions & 17 deletions styles/custom/LatinAbbreviations.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
# LatinAbbreviations.yml
extends: substitution
message: "Avoid latin abbreviations: '%s'. Consider using '%s' instead."
message: "Avoid Latin abbreviations: '%s'. Consider using '%s' instead."
level: warning
ignorecase: false

swap:
- e.g.: for example
- eg: for example
- e.g: for example
- i.e.: for example
- i.e.: that is
- etc.: and so on
- N.B.: Note

action:
name: replace
params:
- for example
- that is
- and so on
- Note
'e.g.': 'for example'
'e.g': 'for example'
'eg': 'for example'
'i.e.': 'that is'
'i.e': 'that is'
'etc.': 'and so on'
'etc': 'and so on'
'N.B.': 'Note'
'NB': 'Note'
8 changes: 0 additions & 8 deletions styles/custom/Metrics.yml

This file was deleted.

Loading