Skip to content

Commit

Permalink
blast_repo fixes (#100)
Browse files Browse the repository at this point in the history
auto-publish, no-response
  • Loading branch information
kevmoo committed Jul 18, 2023
1 parent bdb66bd commit d17e3ed
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 33 deletions.
35 changes: 19 additions & 16 deletions .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,37 @@
# 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.
# more information; see https://github.com/actions/stale.

name: No Response

# Both `issue_comment` and `scheduled` event types are required.
# Run as a daily cron.
on:
issue_comment:
types: [created]
schedule:
# Every day at 8am
- cron: '0 8 * * *'

# All permissions not specified are set to 'none'.
permissions:
issues: write
pull-requests: write

jobs:
noResponse:
no-response:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'dart-lang' }}
steps:
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84
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 }}
# 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!
17 changes: 17 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 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
34 changes: 17 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# 1.0.5-wip
## 1.0.5-wip

* Update video/mp4 mimeType lookup by header bytes.
* Add m4b mimeType lookup by extension.
* Add `text/markdown` mimeType lookup by extension.

# 1.0.4
## 1.0.4

* Changed `.js` to `text/javascript` per
https://datatracker.ietf.org/doc/html/rfc9239.
* Added `.mjs` as `text/javascript`.
* Add `application/dicom` mimeType lookup by extension.
* Require Dart 2.18.

# 1.0.3
## 1.0.3

* Add application/manifest+json lookup by extension.
* Add application/toml mimeType lookup by extension.
Expand All @@ -26,72 +26,72 @@
* Add image/heif mimeType lookup by extension.
* Change audio/x-aac to audio/aac when detected by extension.

# 1.0.2
## 1.0.2

* Add audio/x-aiff mimeType lookup by header bytes.
* Add audio/x-flac mimeType lookup by header bytes.
* Add audio/x-wav mimeType lookup by header bytes.
* Add audio/mp4 mimeType lookup by file path.

# 1.0.1
## 1.0.1

* Add image/webp mimeType lookup by header bytes.

# 1.0.0
## 1.0.0

* Stable null safety release.

# 1.0.0-nullsafety.0
## 1.0.0-nullsafety.0

* Update to null safety.

# 0.9.7
## 0.9.7

* Add `extensionFromMime` utility function.

# 0.9.6+3
## 0.9.6+3

* Change the mime type for Dart source from `application/dart` to `text/x-dart`.
* Add example.
* Fix links and code in README.

# 0.9.6+2
## 0.9.6+2

* Set max SDK version to `<3.0.0`, and adjust other dependencies.

# 0.9.6+1
## 0.9.6+1

* Stop using deprecated constants from the SDK.

# 0.9.6
## 0.9.6

* Updates to support Dart 2.0 core library changes (wave
2.2). See [issue 31847][sdk#31847] for details.

[sdk#31847]: https://github.com/dart-lang/sdk/issues/31847

# 0.9.5
## 0.9.5

* Add support for the WebAssembly format.

# 0.9.4
## 0.9.4

* Updated Dart SDK requirement to `>= 1.8.3 <2.0.0`

* Strong-mode clean.

* Added support for glTF text and binary formats.

# 0.9.3
## 0.9.3

* Fixed erroneous behavior for listening and when pausing/resuming
stream of parts.

# 0.9.2
## 0.9.2

* Fixed erroneous behavior when pausing/canceling stream of parts but already
listened to one part.

# 0.9.1
## 0.9.1

* Handle parsing of MIME multipart content with no parts.

0 comments on commit d17e3ed

Please sign in to comment.