Skip to content

Commit 908b6e1

Browse files
committed
Add sync-team dry-run
1 parent 89f855d commit 908b6e1

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
id-token: write
6565
if: github.event_name == 'merge_group'
6666
steps:
67-
- name: Download built JSON API
67+
- name: Download built JSON API and sync-team
6868
uses: actions/download-artifact@v4
6969
with:
7070
name: team-api-output
@@ -78,20 +78,26 @@ jobs:
7878
GITHUB_DEPLOY_KEY: ${{ secrets.GITHUB_DEPLOY_KEY }}
7979

8080
- name: Configure AWS credentials
81-
if: github.event_name == 'merge_group'
8281
uses: aws-actions/configure-aws-credentials@v1
8382
with:
8483
role-to-assume: arn:aws:iam::890664054962:role/ci--rust-lang--team
8584
aws-region: us-west-1
8685

8786
- name: Start the synchronization tool
88-
if: github.event_name == 'merge_group'
8987
run: |
9088
# Introduce some artificial delay to help github pages propagate.
9189
sleep 60
9290
aws --region us-west-1 lambda invoke --function-name start-sync-team output.json
9391
cat output.json | python3 -m json.tool
9492
93+
- uses: actions/checkout@v4
94+
95+
- name: Run sync-team dry-run
96+
run: |
97+
cargo run --manifest-path sync-team/Cargo.toml \
98+
print-plan \
99+
--team-json build
100+
95101
# Summary job for the merge queue.
96102
# ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
97103
conclusion:

0 commit comments

Comments
 (0)