Skip to content

Commit bce60ca

Browse files
committed
blast_repo fixes
auto-publish, dependabot, github-actions, no-response
1 parent e7b11a2 commit bce60ca

File tree

4 files changed

+65
-5
lines changed

4 files changed

+65
-5
lines changed

.github/dependabot.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
version: 2
33

44
updates:
5-
- package-ecosystem: "github-actions"
6-
directory: "/"
5+
- package-ecosystem: github-actions
6+
directory: /
77
schedule:
8-
interval: "monthly"
8+
interval: monthly
9+
labels:
10+
- autosubmit
11+
groups:
12+
github-actions:
13+
patterns:
14+
- "*"

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
# These are the latest versions of the github actions; dependabot will
2121
# send PRs to keep these up-to-date.
22-
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
22+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
2323
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
2424
with:
2525
sdk: ${{ matrix.sdk }}
@@ -39,7 +39,7 @@ jobs:
3939
- run: dart pub global run coverage:test_with_coverage
4040
if: matrix.sdk == 'dev' && steps.install_pkg_coverage.outcome == 'success'
4141
id: test_with_coverage
42-
- uses: coverallsapp/github-action@master
42+
- uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63
4343
if: matrix.sdk == 'dev' && steps.test_with_coverage.outcome == 'success'
4444
with:
4545
github-token: ${{ secrets.GITHUB_TOKEN }}

.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 == 'google' }}
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: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# A CI configuration to auto-publish pub packages.
2+
3+
name: Publish
4+
5+
on:
6+
pull_request:
7+
branches: [ master ]
8+
push:
9+
tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]
10+
11+
jobs:
12+
publish:
13+
if: ${{ github.repository_owner == 'google' }}
14+
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

0 commit comments

Comments
 (0)