Skip to content

Commit e7f1750

Browse files
authored
blast_repo fixes (dart-archive/source_maps#89)
auto-publish, github-actions, no-response
1 parent c1e39ed commit e7f1750

File tree

3 files changed

+43
-3
lines changed

3 files changed

+43
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# A workflow to close issues where the author hasn't responded to a request for
2+
# more information; see https://github.com/actions/stale.
3+
4+
name: No Response
5+
6+
# Run as a daily cron.
7+
on:
8+
schedule:
9+
# Every day at 8am
10+
- cron: '0 8 * * *'
11+
12+
# All permissions not specified are set to 'none'.
13+
permissions:
14+
issues: write
15+
pull-requests: write
16+
17+
jobs:
18+
no-response:
19+
runs-on: ubuntu-latest
20+
if: ${{ github.repository_owner == 'dart-lang' }}
21+
steps:
22+
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e
23+
with:
24+
# Don't automatically mark inactive issues+PRs as stale.
25+
days-before-stale: -1
26+
# Close needs-info issues and PRs after 14 days of inactivity.
27+
days-before-close: 14
28+
stale-issue-label: "needs-info"
29+
close-issue-message: >
30+
Without additional information we're not able to resolve this issue.
31+
Feel free to add more info or respond to any questions above and we
32+
can reopen the case. Thanks for your contribution!
33+
stale-pr-label: "needs-info"
34+
close-pr-message: >
35+
Without additional information we're not able to resolve this PR.
36+
Feel free to add more info or respond to any questions above.
37+
Thanks for your contribution!

pkgs/source_maps/.github/workflows/publish.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ on:
66
pull_request:
77
branches: [ master ]
88
push:
9-
tags: [ 'v[0-9]+.[0-9]+.[0-9]+*' ]
9+
tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]
1010

1111
jobs:
1212
publish:
1313
if: ${{ github.repository_owner == 'dart-lang' }}
1414
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
15+
permissions:
16+
id-token: write # Required for authentication using OIDC
17+
pull-requests: write # Required for writing the pull request note

pkgs/source_maps/.github/workflows/test-package.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
sdk: [dev]
2424
steps:
2525
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
26-
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
26+
- uses: dart-lang/setup-dart@65c82982aa686933bf10d50aced7a27b2b63f2a6
2727
with:
2828
sdk: ${{ matrix.sdk }}
2929
- id: install
@@ -50,7 +50,7 @@ jobs:
5050
sdk: [3.3.0, dev]
5151
steps:
5252
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
53-
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
53+
- uses: dart-lang/setup-dart@65c82982aa686933bf10d50aced7a27b2b63f2a6
5454
with:
5555
sdk: ${{ matrix.sdk }}
5656
- id: install

0 commit comments

Comments
 (0)