-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into update_enroll_access
- Loading branch information
Showing
15 changed files
with
113 additions
and
251 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
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
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,28 @@ | ||
name: "Melos bootstrap" | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
melos_args: | ||
description: "Melos arguments" | ||
required: false | ||
default: '--ignore="at_root_server" --ignore="at_secondary"' | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
|
||
env: | ||
default_melos_args: '--ignore="at_root_server" --ignore="at_secondary"' | ||
|
||
jobs: | ||
melos-bootstrap: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | ||
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # v2.10.0 | ||
with: | ||
channel: "stable" | ||
- name: flutter pub get | ||
run: flutter pub get | ||
- name: Do melos bootstrap | ||
run: dart run melos bootstrap ${{ github.events.inputs.melos_args || env.default_melos_args }} |
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
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,51 @@ | ||
name: Bump requirements.txt | ||
on: | ||
pull_request: | ||
paths: | ||
- 'tools/pyproject.toml' | ||
workflow_dispatch: | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
bump_requirements: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout this repo | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
token: ${{ secrets.MY_GITHUB_TOKEN }} | ||
|
||
- name: Set up Python | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1 | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Install Poetry | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
uses: abatilo/actions-poetry@192395c0d10c082a7c62294ab5d9a9de40e48974 # v2.3.0 | ||
with: | ||
poetry-version: '1.6.1' | ||
|
||
- name: Bump Python dependencies | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
run: | | ||
cd tools | ||
poetry update | ||
poetry export --format requirements.txt --output requirements.txt | ||
git config --global user.name 'dependabot[bot]' | ||
git config --global user.email 'dependabot[bot]@users.noreply.github.com' | ||
git add requirements.txt | ||
if [ -z "$(git status --porcelain)" ]; then | ||
echo 'No changes to commit on this run' | ||
exit 0 | ||
else | ||
git commit -m "build(deps): Bump requirements.txt" | ||
git push | ||
fi |
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
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 |
---|---|---|
@@ -1,7 +1,13 @@ | ||
name: at_server | ||
|
||
packages: | ||
- packages/** | ||
- packages/* | ||
- packages/*/example | ||
|
||
- tests/** | ||
- tools/build_virtual_environment/install_PKAM_Keys | ||
- tests/* | ||
- tools/build_virtual_environment/install_PKAM_Keys | ||
|
||
command: | ||
bootstrap: | ||
hooks: | ||
pre: dart pub get -C tests/at_functional_test |
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
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
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
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
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
Oops, something went wrong.