Bump axios from 1.5.1 to 1.6.0 in /services/ui-src #449
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: 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'}}" | |
}) |