Skip to content

Commit 6699b74

Browse files
Merge pull request #222 from technote-space/chore/chore-sync-workflows
chore: sync workflows
2 parents 1876187 + 70a8ead commit 6699b74

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.github/workflow-settings.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,12 @@
1515
"TOC_TITLE": "Details",
1616
"TOC_CREATE_PR": "true",
1717
"TOC_TARGET_PATHS": "README*.md",
18-
"BRANCH_PREFIX": "release/"
18+
"BRANCH_PREFIX": "release/",
19+
"ANNOTATION_EXCLUDE_PATTERNS": [
20+
"warning jest",
21+
"warning babel-jest",
22+
"Cloning into",
23+
"has unmet peer dependency",
24+
"has incorrect peer dependency"
25+
]
1926
}

.github/workflows/check-warnings.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,16 @@ jobs:
1616
runs-on: ubuntu-latest
1717
timeout-minutes: 3
1818
steps:
19+
- uses: technote-space/load-config-action@v1
20+
with:
21+
CONFIG_FILENAME: workflow-settings.json, workflow-details.json
22+
IGNORE_WARNING: 'true'
1923
- uses: technote-space/download-annotations-action@v1
2024
id: annotations
2125
with:
2226
TARGET_RUN_ID: ${{ github.event.workflow_run.id }}
2327
INCLUDE_LEVELS: warning
24-
EXCLUDE_MESSAGE_PATTERNS: |
25-
*warning jest*
26-
*Cloning into*
27-
*has unmet peer dependency*
28+
EXCLUDE_MESSAGE_PATTERNS: ${{ env.ANNOTATION_EXCLUDE_PATTERNS }}
2829
- name: Build attachments
2930
run: |
3031
arr1='[{"fields":[{"title":"repo","value":"<https://github.com/${{ github.repository }}|${{ github.repository }}>","short":true},{"title":"action","value":"<${{ github.event.workflow_run.html_url }}|summary>","short":true}]}]'

0 commit comments

Comments
 (0)