diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..cf8e11086 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,9 @@ +# 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 diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml new file mode 100644 index 000000000..ac3e456ec --- /dev/null +++ b/.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/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 000000000..91f6a69c4 --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,14 @@ +# A CI configuration to auto-publish pub packages. + +name: Publish + +on: + pull_request: + branches: [ master ] + push: + tags: [ '[A-z]+-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/README.md b/README.md index b2bef92f9..8ee3d2434 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,8 @@ | [dwds](dwds/) | A service that proxies between the Chrome debug protocol and the Dart VM service protocol. | [![pub package](https://img.shields.io/pub/v/dwds.svg)](https://pub.dev/packages/dwds) | | [frontend_server_client](frontend_server_client/) | Client code to start and interact with the frontend_server compiler from the Dart SDK. | [![pub package](https://img.shields.io/pub/v/frontend_server_client.svg)](https://pub.dev/packages/frontend_server_client) | | [webdev](webdev/) | A CLI for Dart web development. Provides an easy and consistent set of features for users and tools to build and deploy web applications with Dart. | [![pub package](https://img.shields.io/pub/v/webdev.svg)](https://pub.dev/packages/webdev) | + +## Publishing automation + +For information about our publishing automation and release process, see +https://github.com/dart-lang/ecosystem/wiki/Publishing-automation. diff --git a/fixtures/_webdevSmoke/pubspec.yaml b/fixtures/_webdevSmoke/pubspec.yaml index 7e6304a6c..4b570e37e 100644 --- a/fixtures/_webdevSmoke/pubspec.yaml +++ b/fixtures/_webdevSmoke/pubspec.yaml @@ -6,6 +6,7 @@ name: _webdev_smoke description: A test fixture for webdev testing with weak null-safety. +publish_to: none # The versions in this pubspec should match the requirements # defined by webdev. That is the SDK constraint should be the diff --git a/fixtures/_webdevSoundSmoke/pubspec.yaml b/fixtures/_webdevSoundSmoke/pubspec.yaml index 536a83608..0d5bcae43 100644 --- a/fixtures/_webdevSoundSmoke/pubspec.yaml +++ b/fixtures/_webdevSoundSmoke/pubspec.yaml @@ -1,10 +1,11 @@ name: _webdev_smoke description: A test fixture for webdev testing with sound support. +publish_to: none + environment: sdk: ">=3.0.0-134.0.dev <4.0.0" dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 -