Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Commit 02f190b

Browse files
authored
blast_repo fixes (#94)
auto-publish, github-actions, no-response
1 parent c76d7c8 commit 02f190b

File tree

3 files changed

+44
-4
lines changed

3 files changed

+44
-4
lines changed

.github/workflows/no-response.yml

Lines changed: 37 additions & 0 deletions
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!

.github/workflows/publish.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ name: Publish
44

55
on:
66
pull_request:
7-
branches: [ main, master ]
8-
types: [opened, synchronize, reopened, labeled, unlabeled]
7+
branches: [ master ]
98
push:
109
tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]
1110

1211
jobs:
1312
publish:
13+
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

.github/workflows/test-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
matrix:
2222
sdk: [3.1.0, dev]
2323
steps:
24-
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
25-
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
24+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
25+
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
2626
with:
2727
sdk: ${{ matrix.sdk }}
2828
- run: "dart format --output=none --set-exit-if-changed ."

0 commit comments

Comments
 (0)