Skip to content

Commit

Permalink
Merge pull request #149 from technote-space/chore/chore-sync-workflows
Browse files Browse the repository at this point in the history
chore: sync workflows
  • Loading branch information
technote-space committed Dec 26, 2020
2 parents 0303adb + 23f7927 commit 29b59be
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
9 changes: 8 additions & 1 deletion .github/workflow-settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,12 @@
"TOC_TITLE": "Details",
"TOC_CREATE_PR": "true",
"TOC_TARGET_PATHS": "README*.md",
"BRANCH_PREFIX": "release/"
"BRANCH_PREFIX": "release/",
"ANNOTATION_EXCLUDE_PATTERNS": [
"warning jest",
"warning babel-jest",
"Cloning into",
"has unmet peer dependency",
"has incorrect peer dependency"
]
}
11 changes: 5 additions & 6 deletions .github/workflows/check-warnings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,16 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: technote-space/load-config-action@v1
with:
CONFIG_FILENAME: workflow-settings.json, workflow-details.json
IGNORE_WARNING: 'true'
- uses: technote-space/download-annotations-action@v1
id: annotations
with:
TARGET_RUN_ID: ${{ github.event.workflow_run.id }}
INCLUDE_LEVELS: warning
EXCLUDE_MESSAGE_PATTERNS: |
*warning jest*
*warning babel-jest*
*Cloning into*
*has unmet peer dependency*
*has incorrect peer dependency*
EXCLUDE_MESSAGE_PATTERNS: ${{ env.ANNOTATION_EXCLUDE_PATTERNS }}
- name: Build attachments
run: |
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}]}]'
Expand Down

0 comments on commit 29b59be

Please sign in to comment.