mirror of https://github.com/grpc/grpc-dart.git
Update publish.yaml (#789)
* Update publish.yaml * cargo cult config from dart-lang/core * skip coverage check; update file headers
This commit is contained in:
parent
a6b94850a1
commit
aebb65cbf2
|
@ -1,13 +1,14 @@
|
||||||
name: Health
|
name: Health
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
types: [opened, synchronize, reopened, labeled, unlabeled]
|
types: [opened, synchronize, reopened, labeled, unlabeled]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
health:
|
health:
|
||||||
uses: dart-lang/ecosystem/.github/workflows/health.yaml@main
|
uses: dart-lang/ecosystem/.github/workflows/health.yaml@main
|
||||||
with:
|
with:
|
||||||
checks: "changelog,do-not-submit,breaking,coverage,leaking"
|
checks: "changelog,do-not-submit,breaking,leaking"
|
||||||
ignore_coverage: "example/**,interop/**"
|
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
name: Comment on the pull request
|
name: Comment on the pull request
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Trigger this workflow after the Health workflow completes. This workflow will have permissions to
|
# Trigger this workflow after the given workflows completes.
|
||||||
# do things like create comments on the PR, even if the original workflow couldn't.
|
# This workflow will have permissions to do things like create comments on the
|
||||||
|
# PR, even if the original workflow couldn't.
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows:
|
workflows:
|
||||||
- Health
|
- Health
|
||||||
|
|
|
@ -1,12 +1,18 @@
|
||||||
|
# A CI configuration to auto-publish pub packages.
|
||||||
|
|
||||||
name: Publish
|
name: Publish
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
pull-requests: write
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
push:
|
push:
|
||||||
tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]
|
tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
|
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
|
||||||
|
with:
|
||||||
|
write-comments: false
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
|
pull-requests: write
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright 2018 Google Inc. All Rights Reserved.
|
// Copyright (c) 2018, the gRPC project authors. Please see the AUTHORS file
|
||||||
|
// for details. All rights reserved.
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright 2018 Google Inc. All Rights Reserved.
|
// Copyright (c) 2018, the gRPC project authors. Please see the AUTHORS file
|
||||||
|
// for details. All rights reserved.
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|
Loading…
Reference in New Issue