-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add PR Health workflow * Ignore licenses for generated files
- Loading branch information
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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: | ||
ignore_license: "**.g.dart" | ||
sdk: dev | ||
permissions: | ||
pull-requests: write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
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. | ||
workflow_run: | ||
workflows: | ||
- Health | ||
- Publish | ||
types: | ||
- completed | ||
|
||
jobs: | ||
upload: | ||
uses: dart-lang/ecosystem/.github/workflows/post_summaries.yaml@main | ||
permissions: | ||
pull-requests: write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters