Skip to content

Commit

Permalink
Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jpeiffer committed May 27, 2024
1 parent 90e3c94 commit db8bdc0
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ on:
pull_request:
branches: [main]

permissions:
# Only need to read contents
contents: read
# Require writing security events to upload SARIF file to security tab
security-events: write

jobs:
build:
runs-on: ubuntu-latest
Expand Down
25 changes: 25 additions & 0 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,31 @@ flutter:
- 'assets/pages/'
- 'assets/rives/'

permittedLicenses:
- Apache-2.0
- BSD-2-Clause
- BSD-3-Clause
- MIT
- MIT-Modern-Variant
- MPL-2.0
- Zlib

# The [license_checker](https://pub.dev/packages/license_checker) package cannot
# detect the built in Flutter packages because they aren't published to pub.dev
# and do not have a LICENSE file in their respective folders. So this section
# informs the license_checker that all the built in Flutter packages all have
# the same BSD-3-Clause license as Flutter itself.
packageLicenseOverride:
flutter: BSD-3-Clause
flutter_driver: BSD-3-Clause
flutter_goldens: BSD-3-Clause
flutter_localizations: BSD-3-Clause
flutter_web_plugins: BSD-3-Clause
flutter_test: BSD-3-Clause
fuchsia_remote_debug_protocol: BSD-3-Clause
integration_test: BSD-3-Clause
rxdart: Apache-2.0

ignore_updates:
- 'archive'
- 'async'
Expand Down
25 changes: 25 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,31 @@ dev_dependencies:
sdk: 'flutter'
json_dynamic_widget_codegen: '^1.0.1+1'

permittedLicenses:
- Apache-2.0
- BSD-2-Clause
- BSD-3-Clause
- MIT
- MIT-Modern-Variant
- MPL-2.0
- Zlib

# The [license_checker](https://pub.dev/packages/license_checker) package cannot
# detect the built in Flutter packages because they aren't published to pub.dev
# and do not have a LICENSE file in their respective folders. So this section
# informs the license_checker that all the built in Flutter packages all have
# the same BSD-3-Clause license as Flutter itself.
packageLicenseOverride:
flutter: BSD-3-Clause
flutter_driver: BSD-3-Clause
flutter_goldens: BSD-3-Clause
flutter_localizations: BSD-3-Clause
flutter_web_plugins: BSD-3-Clause
flutter_test: BSD-3-Clause
fuchsia_remote_debug_protocol: BSD-3-Clause
integration_test: BSD-3-Clause
rxdart: Apache-2.0

ignore_updates:
- 'archive'
- 'async'
Expand Down

0 comments on commit db8bdc0

Please sign in to comment.