Moving fixes
diff --git a/.github/labeler.yml b/.github/labeler.yml index 1cc4b20..24a7095 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml
@@ -111,3 +111,7 @@ 'package:unified_analytics': - changed-files: - any-glob-to-any-file: 'pkgs/unified_analytics/**' + +'package:yaml': + - changed-files: + - any-glob-to-any-file: 'pkgs/yaml/**'
diff --git a/pkgs/yaml/.github/workflows/test-package.yml b/.github/workflows/yaml.yaml similarity index 86% rename from pkgs/yaml/.github/workflows/test-package.yml rename to .github/workflows/yaml.yaml index 7bc6a0b..735461e 100644 --- a/pkgs/yaml/.github/workflows/test-package.yml +++ b/.github/workflows/yaml.yaml
@@ -1,17 +1,28 @@ -name: Dart CI +name: package:yaml on: # Run on PRs and pushes to the default branch. push: - branches: [ master ] + branches: [ main ] + paths: + - '.github/workflows/yaml.yaml' + - 'pkgs/yaml/**' pull_request: - branches: [ master ] + branches: [ main ] + paths: + - '.github/workflows/yaml.yaml' + - 'pkgs/yaml/**' schedule: - cron: "0 0 * * 0" env: PUB_ENVIRONMENT: bot.github + +defaults: + run: + working-directory: pkgs/yaml/ + jobs: # Check code formatting and static analysis on a single OS (linux) # against Dart dev.
diff --git a/README.md b/README.md index 79d1dde..f463351 100644 --- a/README.md +++ b/README.md
@@ -41,6 +41,7 @@ | [source_span](pkgs/source_span/) | Provides a standard representation for source code locations and spans. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Asource_span) | [](https://pub.dev/packages/source_span) | | [sse](pkgs/sse/) | Provides client and server functionality for setting up bi-directional communication through Server Sent Events (SSE) and corresponding POST requests. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Asse) | [](https://pub.dev/packages/sse) | | [unified_analytics](pkgs/unified_analytics/) | A package for logging analytics for all Dart and Flutter related tooling to Google Analytics. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aunified_analytics) | [](https://pub.dev/packages/unified_analytics) | +| [yaml](pkgs/yaml/) | A parser for YAML, a human-friendly data serialization standard | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ayaml) | [](https://pub.dev/packages/yaml) | ## Publishing automation
diff --git a/pkgs/yaml/.github/dependabot.yml b/pkgs/yaml/.github/dependabot.yml deleted file mode 100644 index cde02ad..0000000 --- a/pkgs/yaml/.github/dependabot.yml +++ /dev/null
@@ -1,15 +0,0 @@ -# Dependabot configuration file. -# See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates -version: 2 - -updates: - - package-ecosystem: github-actions - directory: / - schedule: - interval: monthly - labels: - - autosubmit - groups: - github-actions: - patterns: - - "*"
diff --git a/pkgs/yaml/.github/workflows/no-response.yml b/pkgs/yaml/.github/workflows/no-response.yml deleted file mode 100644 index ab1ac49..0000000 --- a/pkgs/yaml/.github/workflows/no-response.yml +++ /dev/null
@@ -1,37 +0,0 @@ -# A workflow to close issues where the author hasn't responded to a request for -# more information; see https://github.com/actions/stale. - -name: No Response - -# Run as a daily cron. -on: - schedule: - # Every day at 8am - - cron: '0 8 * * *' - -# All permissions not specified are set to 'none'. -permissions: - issues: write - pull-requests: write - -jobs: - no-response: - runs-on: ubuntu-latest - if: ${{ github.repository_owner == 'dart-lang' }} - steps: - - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e - with: - # Don't automatically mark inactive issues+PRs as stale. - days-before-stale: -1 - # Close needs-info issues and PRs after 14 days of inactivity. - days-before-close: 14 - stale-issue-label: "needs-info" - close-issue-message: > - Without additional information we're not able to resolve this issue. - Feel free to add more info or respond to any questions above and we - can reopen the case. Thanks for your contribution! - stale-pr-label: "needs-info" - close-pr-message: > - Without additional information we're not able to resolve this PR. - Feel free to add more info or respond to any questions above. - Thanks for your contribution!
diff --git a/pkgs/yaml/.github/workflows/publish.yaml b/pkgs/yaml/.github/workflows/publish.yaml deleted file mode 100644 index 27157a0..0000000 --- a/pkgs/yaml/.github/workflows/publish.yaml +++ /dev/null
@@ -1,17 +0,0 @@ -# A CI configuration to auto-publish pub packages. - -name: Publish - -on: - pull_request: - branches: [ master ] - 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 - permissions: - id-token: write # Required for authentication using OIDC - pull-requests: write # Required for writing the pull request note
diff --git a/pkgs/yaml/CHANGELOG.md b/pkgs/yaml/CHANGELOG.md index cd800a8..3f9d3fd 100644 --- a/pkgs/yaml/CHANGELOG.md +++ b/pkgs/yaml/CHANGELOG.md
@@ -1,7 +1,8 @@ -## 3.1.3-wip +## 3.1.3 * Require Dart 3.4 * Fix UTF-16 surrogate pair handling in plain scaler. +* Move to `dart-lang/tools` monorepo. ## 3.1.2
diff --git a/pkgs/yaml/README.md b/pkgs/yaml/README.md index 6f5be28..ba56893 100644 --- a/pkgs/yaml/README.md +++ b/pkgs/yaml/README.md
@@ -1,7 +1,8 @@ -[](https://github.com/dart-lang/yaml/actions?query=workflow%3A"Dart+CI"+branch%3Amaster) -[](https://pub.dev/packages/yaml) +[](https://github.com/dart-lang/tools/actions/workflows/yaml.yaml) +[](https://pub.dev/packages/yaml) [](https://pub.dev/packages/yaml/publisher) + A parser for [YAML](https://yaml.org/). ## Usage
diff --git a/pkgs/yaml/pubspec.yaml b/pkgs/yaml/pubspec.yaml index bbdc216..3224067 100644 --- a/pkgs/yaml/pubspec.yaml +++ b/pkgs/yaml/pubspec.yaml
@@ -1,5 +1,5 @@ name: yaml -version: 3.1.3-wip +version: 3.1.3 description: A parser for YAML, a human-friendly data serialization standard repository: https://github.com/dart-lang/tools/tree/main/pkgs/yaml topics: