Skip to content

Commit 6d3e93f

Browse files
authored
blast_repo fixes (dart-archive/yaml_edit#46)
auto-publish github-actions no-response
1 parent 6523e6b commit 6d3e93f

File tree

4 files changed

+59
-11
lines changed

4 files changed

+59
-11
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# A workflow to close issues where the author hasn't responded to a request for
2+
# more information; see https://github.com/godofredoc/no-response for docs.
3+
4+
name: No Response
5+
6+
# Both `issue_comment` and `scheduled` event types are required.
7+
on:
8+
issue_comment:
9+
types: [created]
10+
schedule:
11+
# Every day at 8am
12+
- cron: '0 8 * * *'
13+
14+
# All permissions not specified are set to 'none'.
15+
permissions:
16+
issues: write
17+
18+
jobs:
19+
noResponse:
20+
runs-on: ubuntu-latest
21+
if: ${{ github.repository_owner == 'dart-lang' }}
22+
steps:
23+
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
24+
with:
25+
responseRequiredLabel: "needs-info"
26+
responseRequiredColor: 4774bc
27+
daysUntilClose: 14
28+
# Comment to post when closing an Issue for lack of response.
29+
closeComment: >
30+
Without additional information we're not able to resolve this issue,
31+
so it will be closed at this time. You're still free to add more
32+
info and respond to any questions above, though. We'll reopen the
33+
issue if you do. Thanks for your contribution!
34+
token: ${{ github.token }}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# A CI configuration to auto-publish pub packages.
2+
3+
name: Publish
4+
5+
on:
6+
pull_request:
7+
branches: [ main ]
8+
push:
9+
tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]
10+
11+
jobs:
12+
publish:
13+
if: ${{ github.repository_owner == 'dart-lang' }}
14+
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main

pkgs/yaml_edit/.github/workflows/test-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Convert coverage to lcov
6565
run: dart run coverage:format_coverage -i ./coverage -o ./coverage/lcov.info --lcov --report-on lib/
6666
if: always() && steps.install.outcome == 'success' && matrix.sdk != '2.12.0'
67-
- uses: coverallsapp/github-action@v1
67+
- uses: coverallsapp/github-action@30402dfd78555606e51eff084546182de0647a4a
6868
if: always() && steps.install.outcome == 'success' && matrix.sdk != '2.12.0'
6969
with:
7070
flag-name: os:${{ matrix.os }}/dart:${{ matrix.sdk }}/platform:${{ matrix.platform }}
@@ -75,6 +75,6 @@ jobs:
7575
if: ${{ always() }}
7676
runs-on: ubuntu-latest
7777
steps:
78-
- uses: coverallsapp/github-action@v1
78+
- uses: coverallsapp/github-action@30402dfd78555606e51eff084546182de0647a4a
7979
with:
8080
parallel-finished: true

pkgs/yaml_edit/CHANGELOG.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## v2.1.0
1+
## 2.1.0
22
- **Breaking** `wrapAsYamlNode(value, collectionStyle, scalarStyle)` will apply
33
`collectionStyle` and `scalarStyle` recursively when wrapping a children of
44
`Map` and `List`.
@@ -11,38 +11,38 @@
1111
rather than at end of list.
1212
([#23](https://github.com/dart-lang/yaml_edit/issues/23))
1313

14-
## v2.0.3
14+
## 2.0.3
1515
- Updated the value of the pubspec `repository` field.
1616

17-
## v2.0.2
17+
## 2.0.2
1818
- Fix trailing whitespace after adding new key with block-value to map
1919
([#15](https://github.com/dart-lang/yaml_edit/issues/15)).
2020
- Updated `repository` and other meta-data in `pubspec.yaml`.
2121

22-
## v2.0.1
22+
## 2.0.1
2323
- License changed to BSD, as this package is now maintained by the Dart team.
2424
- Fixed minor lints.
2525

26-
## v2.0.0
26+
## 2.0.0
2727
- Migrated to null-safety.
2828
- API will no-longer return `null` in-place of a `YamlNode`, instead a
2929
`YamlNode` with `YamlNode.value == null` should be used. These are easily
3030
created with `wrapAsYamlNode(null)`.
3131

32-
## v1.0.3
32+
## 1.0.3
3333

3434
- Fixed bug in adding an empty map as a map value.
3535

36-
## v1.0.2
36+
## 1.0.2
3737

3838
- Throws an error if the final YAML after edit is not parsable.
3939
- Fixed bug in adding to empty map values, when it is followed by other content.
4040

41-
## v1.0.1
41+
## 1.0.1
4242

4343
- Updated behavior surrounding list and map removal.
4444
- Fixed bug in dealing with empty values.
4545

46-
## v1.0.0
46+
## 1.0.0
4747

4848
- Initial release.

0 commit comments

Comments
 (0)