blast_repo fixes (dart-lang/yaml_edit#46)
auto-publish
github-actions
no-response
diff --git a/pkgs/yaml_edit/.github/workflows/no-response.yml b/pkgs/yaml_edit/.github/workflows/no-response.yml
new file mode 100644
index 0000000..ac3e456
--- /dev/null
+++ b/pkgs/yaml_edit/.github/workflows/no-response.yml
@@ -0,0 +1,34 @@
+# A workflow to close issues where the author hasn't responded to a request for
+# more information; see https://github.com/godofredoc/no-response for docs.
+
+name: No Response
+
+# Both `issue_comment` and `scheduled` event types are required.
+on:
+ issue_comment:
+ types: [created]
+ schedule:
+ # Every day at 8am
+ - cron: '0 8 * * *'
+
+# All permissions not specified are set to 'none'.
+permissions:
+ issues: write
+
+jobs:
+ noResponse:
+ runs-on: ubuntu-latest
+ if: ${{ github.repository_owner == 'dart-lang' }}
+ steps:
+ - uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
+ with:
+ responseRequiredLabel: "needs-info"
+ responseRequiredColor: 4774bc
+ daysUntilClose: 14
+ # Comment to post when closing an Issue for lack of response.
+ closeComment: >
+ Without additional information we're not able to resolve this issue,
+ so it will be closed at this time. You're still free to add more
+ info and respond to any questions above, though. We'll reopen the
+ issue if you do. Thanks for your contribution!
+ token: ${{ github.token }}
diff --git a/pkgs/yaml_edit/.github/workflows/publish.yaml b/pkgs/yaml_edit/.github/workflows/publish.yaml
new file mode 100644
index 0000000..e8e5a36
--- /dev/null
+++ b/pkgs/yaml_edit/.github/workflows/publish.yaml
@@ -0,0 +1,14 @@
+# A CI configuration to auto-publish pub packages.
+
+name: Publish
+
+on:
+ pull_request:
+ branches: [ main ]
+ push:
+ tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]
+
+jobs:
+ publish:
+ if: ${{ github.repository_owner == 'dart-lang' }}
+ uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
diff --git a/pkgs/yaml_edit/.github/workflows/test-package.yml b/pkgs/yaml_edit/.github/workflows/test-package.yml
index e1a4953..26b56ef 100644
--- a/pkgs/yaml_edit/.github/workflows/test-package.yml
+++ b/pkgs/yaml_edit/.github/workflows/test-package.yml
@@ -64,7 +64,7 @@
- name: Convert coverage to lcov
run: dart run coverage:format_coverage -i ./coverage -o ./coverage/lcov.info --lcov --report-on lib/
if: always() && steps.install.outcome == 'success' && matrix.sdk != '2.12.0'
- - uses: coverallsapp/github-action@v1
+ - uses: coverallsapp/github-action@30402dfd78555606e51eff084546182de0647a4a
if: always() && steps.install.outcome == 'success' && matrix.sdk != '2.12.0'
with:
flag-name: os:${{ matrix.os }}/dart:${{ matrix.sdk }}/platform:${{ matrix.platform }}
@@ -75,6 +75,6 @@
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- - uses: coverallsapp/github-action@v1
+ - uses: coverallsapp/github-action@30402dfd78555606e51eff084546182de0647a4a
with:
parallel-finished: true
diff --git a/pkgs/yaml_edit/CHANGELOG.md b/pkgs/yaml_edit/CHANGELOG.md
index 356df41..797a07f 100644
--- a/pkgs/yaml_edit/CHANGELOG.md
+++ b/pkgs/yaml_edit/CHANGELOG.md
@@ -1,4 +1,4 @@
-## v2.1.0
+## 2.1.0
- **Breaking** `wrapAsYamlNode(value, collectionStyle, scalarStyle)` will apply
`collectionStyle` and `scalarStyle` recursively when wrapping a children of
`Map` and `List`.
@@ -11,38 +11,38 @@
rather than at end of list.
([#23](https://github.com/dart-lang/yaml_edit/issues/23))
-## v2.0.3
+## 2.0.3
- Updated the value of the pubspec `repository` field.
-## v2.0.2
+## 2.0.2
- Fix trailing whitespace after adding new key with block-value to map
([#15](https://github.com/dart-lang/yaml_edit/issues/15)).
- Updated `repository` and other meta-data in `pubspec.yaml`.
-## v2.0.1
+## 2.0.1
- License changed to BSD, as this package is now maintained by the Dart team.
- Fixed minor lints.
-## v2.0.0
+## 2.0.0
- Migrated to null-safety.
- API will no-longer return `null` in-place of a `YamlNode`, instead a
`YamlNode` with `YamlNode.value == null` should be used. These are easily
created with `wrapAsYamlNode(null)`.
-## v1.0.3
+## 1.0.3
- Fixed bug in adding an empty map as a map value.
-## v1.0.2
+## 1.0.2
- Throws an error if the final YAML after edit is not parsable.
- Fixed bug in adding to empty map values, when it is followed by other content.
-## v1.0.1
+## 1.0.1
- Updated behavior surrounding list and map removal.
- Fixed bug in dealing with empty values.
-## v1.0.0
+## 1.0.0
- Initial release.