Skip to content

Bump axios from 1.5.1 to 1.6.0 in /services/ui-src #449

Bump axios from 1.5.1 to 1.6.0 in /services/ui-src

Bump axios from 1.5.1 to 1.6.0 in /services/ui-src #449

Workflow file for this run

name: Open Pull Request
on:
pull_request:
types:
- opened
branches:
- develop
permissions:
id-token: write
contents: read
actions: read
pull-requests: write
jobs:
endpoint:
runs-on: ubuntu-latest
steps:
- name: set branch_name
run: echo "branch_name=${GITHUB_HEAD_REF}" >> $GITHUB_ENV
- name: Configure AWS credentials for GitHub Actions
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_OIDC_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
- name: get endpoint
run: echo "application_endpoint_url="`aws cloudformation describe-stacks --stack-name ui-${{env.branch_name}} --output text --query "Stacks[0].Outputs[?OutputKey=='ApplicationEndpointUrl'].OutputValue"` >> $GITHUB_ENV
- name: Add endpoint in PR
uses: actions/github-script@v6
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: "Endpoint URL - ${{env.application_endpoint_url || 'Environment not yet deployed, delete this comment and run the Pull Request workflow again after deploy is complete'}}"
})