Skip to content

Commit

Permalink
Admin: Ensure Automatic data update scripts use a unique branch (#5947)
Browse files Browse the repository at this point in the history
  • Loading branch information
bblommers authored Feb 19, 2023
1 parent efb13a1 commit 046d765
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/data-update_ec2-instance-offerings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ jobs:
COMMIT_MESSAGE: 'chore: update EC2 Instance Offerings'
COMMIT_NAME: 'Moto Admin'
COMMIT_EMAIL: '[email protected]'
PR_BRANCH_NAME: 'chore-update-${PR_ID}'
PR_BRANCH_NAME: 'chore-update-ec2-offerings-${PR_ID}'
PR_TITLE: 'chore: update EC2 Instance Offerings'
2 changes: 1 addition & 1 deletion .github/workflows/data-update_ec2-instance-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ jobs:
COMMIT_MESSAGE: 'chore: update EC2 Instance Types'
COMMIT_NAME: 'Moto Admin'
COMMIT_EMAIL: '[email protected]'
PR_BRANCH_NAME: 'chore-update-${PR_ID}'
PR_BRANCH_NAME: 'chore-update-ec2-types-${PR_ID}'
PR_TITLE: 'chore: update EC2 Instance Types'
3 changes: 2 additions & 1 deletion .github/workflows/data-update_ssm-default-amis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.PR_ACCESS_TOKEN }}
EXECUTE_COMMANDS: |
pip install boto3
pip install moto
python scripts/ssm_get_default_amis.py
COMMIT_MESSAGE: "chore: update SSM default AMI's"
COMMIT_NAME: 'Moto Admin'
COMMIT_EMAIL: '[email protected]'
PR_BRANCH_NAME: 'chore-update-${PR_ID}'
PR_BRANCH_NAME: 'chore-update-ssm-amis-${PR_ID}'
PR_TITLE: "chore: update SSM Instance AMI's"
3 changes: 2 additions & 1 deletion .github/workflows/data-update_ssm-default-parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.PR_ACCESS_TOKEN }}
EXECUTE_COMMANDS: |
pip install boto3
pip install moto
python scripts/ssm_get_default_params.py
COMMIT_MESSAGE: "chore: update SSM default parameters"
COMMIT_NAME: 'Moto Admin'
COMMIT_EMAIL: '[email protected]'
PR_BRANCH_NAME: 'chore-update-${PR_ID}'
PR_BRANCH_NAME: 'chore-update-ssm-params-${PR_ID}'
PR_TITLE: "chore: update SSM Instance parameters"
1 change: 0 additions & 1 deletion scripts/ssm_get_default_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import json
import os
import subprocess
import sure # noqa # pylint: disable=unused-import
import time

from moto.ssm.utils import convert_to_tree
Expand Down

0 comments on commit 046d765

Please sign in to comment.