name: Start DevOps pipeline execution

on:
  push:
    paths:
      - devops/tooling/**

jobs:
  deploy:
    runs-on: ubuntu-latest
    permissions:
      id-token: write
      contents: read
    steps:
      - name: Configure AWS Credentials
        uses: aws-actions/configure-aws-credentials@v1
        with:
          aws-region: us-east-1
          role-to-assume: arn:aws:iam::578003269847:role/DevOps-GitHubOidcFederatedRole
          role-session-name: GitHubActions-StartDevopsPipelineExecution
      - name: Start pipeline execution
        run: |
          aws codepipeline start-pipeline-execution --region us-east-2 --name prx-devops-cd-pipeline-Pipeline-1TO7YPH1LSOSD

Add DevOps pipeline execution action
Add DevOps pipeline execution action
