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 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

View File

@ -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
@ -14,4 +15,4 @@ jobs:
upload: upload:
uses: dart-lang/ecosystem/.github/workflows/post_summaries.yaml@main uses: dart-lang/ecosystem/.github/workflows/post_summaries.yaml@main
permissions: permissions:
pull-requests: write pull-requests: write

View File

@ -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

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"); // 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.

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"); // 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.