-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
force a test on top level permissions
- Loading branch information
kyle
committed
Sep 26, 2023
1 parent
ed651ef
commit 7b13343
Showing
1 changed file
with
68 additions
and
0 deletions.
There are no files selected for viewing
68 changes: 68 additions & 0 deletions
68
.github/workflows/amplify_analytics_pinpoint_dart_target.yaml
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,68 @@ | ||
# Generated with aft. To update, run: `aft generate workflows` | ||
name: amplify_analytics_pinpoint_dart | ||
on: push | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
permissions: | ||
actions: read | ||
checks: read | ||
contents: read | ||
deployments: read | ||
id-token: write | ||
issues: read | ||
discussions: read | ||
packages: read | ||
pages: read | ||
pull-requests: read | ||
repository-projects: read | ||
security-events: read | ||
statuses: read | ||
|
||
# Cancels in-progress job when there is another push to same ref. | ||
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
uses: ./.github/workflows/dart_vm.yaml | ||
with: | ||
package-name: amplify_analytics_pinpoint_dart | ||
working-directory: packages/analytics/amplify_analytics_pinpoint_dart | ||
secrets: | ||
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} | ||
aws-region: ${{ secrets.AWS_REGION }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
native_test: | ||
needs: test | ||
uses: ./.github/workflows/dart_native.yaml | ||
with: | ||
package-name: amplify_analytics_pinpoint_dart | ||
working-directory: packages/analytics/amplify_analytics_pinpoint_dart | ||
secrets: | ||
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} | ||
aws-region: ${{ secrets.AWS_REGION }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
ddc_test: | ||
needs: test | ||
uses: ./.github/workflows/dart_ddc.yaml | ||
with: | ||
package-name: amplify_analytics_pinpoint_dart | ||
working-directory: packages/analytics/amplify_analytics_pinpoint_dart | ||
secrets: | ||
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} | ||
aws-region: ${{ secrets.AWS_REGION }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
dart2js_test: | ||
needs: test | ||
uses: ./.github/workflows/dart_dart2js.yaml | ||
with: | ||
package-name: amplify_analytics_pinpoint_dart | ||
working-directory: packages/analytics/amplify_analytics_pinpoint_dart | ||
secrets: | ||
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} | ||
aws-region: ${{ secrets.AWS_REGION }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |