Added virus scan to uploads spec (#16393) #2535
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
name: Sync master -> preview_envs_k8s | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
sync-branch: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-access-key-id: ${{ secrets.aws_access_key_id }} | |
aws-secret-access-key: ${{ secrets.aws_secret_access_key }} | |
aws-region: "us-gov-west-1" | |
- name: Get bot token from Parameter Store | |
uses: marvinpinto/action-inject-ssm-secrets@latest | |
with: | |
ssm_parameter: /devops/VA_VSP_BOT_GITHUB_TOKEN | |
env_variable_name: VA_VSP_BOT_GITHUB_TOKEN | |
- name: Merge master -> preview_envs_k8s | |
uses: everlytic/[email protected] | |
with: | |
github_token: ${{ env.VA_VSP_BOT_GITHUB_TOKEN }} | |
source_ref: 'master' | |
target_branch: 'preview_envs_k8s' | |
commit_message_template: '[Automated] Merged {source_ref} into target {target_branch}' | |