Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
auto-publish, github-actions, no-response
  • Loading branch information
kevmoo authored Apr 10, 2024
1 parent 12cafe0 commit ce96c97
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 4 deletions.
37 changes: 37 additions & 0 deletions pkgs/source_map_stack_trace/.github/workflows/no-response.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 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!
17 changes: 17 additions & 0 deletions pkgs/source_map_stack_trace/.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
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
sdk: [dev]
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
- uses: dart-lang/setup-dart@65c82982aa686933bf10d50aced7a27b2b63f2a6
with:
sdk: ${{ matrix.sdk }}
- id: install
Expand All @@ -50,7 +50,7 @@ jobs:
sdk: [2.19.0, dev]
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
- uses: dart-lang/setup-dart@65c82982aa686933bf10d50aced7a27b2b63f2a6
with:
sdk: ${{ matrix.sdk }}
- id: install
Expand Down
2 changes: 1 addition & 1 deletion pkgs/source_map_stack_trace/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 2.1.2-dev
## 2.1.2-wip

* Require Dart 2.19

Expand Down
2 changes: 1 addition & 1 deletion pkgs/source_map_stack_trace/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: source_map_stack_trace
version: 2.1.2-dev
version: 2.1.2-wip
description: A package for applying source maps to stack traces.
repository: https://github.com/dart-lang/source_map_stack_trace

Expand Down

0 comments on commit ce96c97

Please sign in to comment.