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 439beaa commit 811efba
Show file tree
Hide file tree
Showing 2 changed files with 25 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 pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,31 @@ dev_dependencies:
flutter_lints: '^4.0.0'
test: '^1.25.5'

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

Please sign in to comment.