Commit c293d62 1 parent 82e0a44 commit c293d62 Copy full SHA for c293d62
File tree 3 files changed +43
-3
lines changed
3 files changed +43
-3
lines changed Original file line number Diff line number Diff line change 1
1
<!--
2
- PR Creation Checklist
3
- - [ ] Update Changelog
2
+ Please update docs/changelogs/ if you're modifying Go files. If your change does not require a changelog entry, please do one of the following:
3
+ - add `[skip changelog]` to the PR title
4
+ - label the PR with `skip/changelog`
4
5
-->
Original file line number Diff line number Diff line change 81
81
npm install ipfs-interop@^10.0.1
82
82
working-directory: interop
83
83
# Run the interop tests while ignoring the js-js interop test cases
84
- - run : npx ipfs-interop -- -t node --grep '^(?!.*(js\d? -> js\d?|js-js-js))' --parallel
84
+ - run : npx ipfs-interop -- -t node --grep '^(?!.*(js\d? -> js\d?|js-js-js|js-rv\d?-js ))' --parallel
85
85
env :
86
86
LIBP2P_TCP_REUSEPORT : false
87
87
LIBP2P_ALLOW_WEAK_RSA_KEYS : 1
Original file line number Diff line number Diff line change
1
+ name : Changelog
2
+
3
+ on :
4
+ pull_request :
5
+ types :
6
+ - opened
7
+ - edited
8
+ - synchronize
9
+ - reopened
10
+ - labeled
11
+ - unlabeled
12
+ paths :
13
+ - ' **.go'
14
+ - ' **/go.mod'
15
+ - ' **/go.sum'
16
+
17
+ jobs :
18
+ changelog :
19
+ if : contains(github.event.pull_request.title, '[skip changelog]') == false &&
20
+ contains(github.event.pull_request.labels.*.name, 'skip/changelog') == false
21
+ runs-on : ubuntu-latest
22
+ name : Changelog
23
+ steps :
24
+ - id : changelog
25
+ env :
26
+ GITHUB_TOKEN : ${{ github.token }}
27
+ ENDPOINT : repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files
28
+ SELECTOR : ' map(select(.filename | startswith("docs/changelogs/"))) | length'
29
+ run : gh api "$ENDPOINT" --jq "$SELECTOR" | xargs -I{} echo "modified={}" | tee -a $GITHUB_OUTPUT
30
+ - if : steps.changelog.outputs.modified == '0'
31
+ env :
32
+ MESSAGE : |
33
+ docs/changelogs/ was not modified in this PR. Please do one of the following:
34
+ - add a changelog entry
35
+ - add `[skip changelog]` to the PR title
36
+ - label the PR with `skip/changelog`
37
+ run : |
38
+ echo "::error::${MESSAGE//$'\n'/%0A}"
39
+ exit 1
You can’t perform that action at this time.
0 commit comments