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:
Devon Carew 2025-06-11 05:36:18 -07:00 committed by GitHub
parent a6b94850a1
commit aebb65cbf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 20 additions and 10 deletions

View File

@ -1,13 +1,14 @@
name: Health
on:
pull_request:
branches: [ master ]
types: [opened, synchronize, reopened, labeled, unlabeled]
jobs:
health:
uses: dart-lang/ecosystem/.github/workflows/health.yaml@main
with:
checks: "changelog,do-not-submit,breaking,coverage,leaking"
ignore_coverage: "example/**,interop/**"
checks: "changelog,do-not-submit,breaking,leaking"
permissions:
pull-requests: write

View File

@ -1,8 +1,9 @@
name: Comment on the pull request
on:
# Trigger this workflow after the Health workflow completes. This workflow will have permissions to
# do things like create comments on the PR, even if the original workflow couldn't.
# Trigger this workflow after the given workflows completes.
# This workflow will have permissions to do things like create comments on the
# PR, even if the original workflow couldn't.
workflow_run:
workflows:
- Health

View File

@ -1,12 +1,18 @@
# A CI configuration to auto-publish pub packages.
name: Publish
permissions:
id-token: write
pull-requests: write
on:
pull_request:
branches: [ master ]
push:
tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]
jobs:
publish:
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
with:
write-comments: false
permissions:
id-token: write
pull-requests: write

View File

@ -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");
// you may not use this file except in compliance with the License.

View File

@ -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");
// you may not use this file except in compliance with the License.