Skip to content

Commit

Permalink
Added additional job to change name if run is scheduled
Browse files Browse the repository at this point in the history
  • Loading branch information
smickovskid committed Jun 27, 2023
1 parent 85b1a2c commit ffb75c5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/e2e_custom_cl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }}
QA_AWS_ACCOUNT_NUMBER: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}

setup_job_name:
setup:
runs-on: ubuntu-latest
outputs:
job_name: ${{ steps.set_job_name.outputs.job_name }}
Expand All @@ -140,10 +140,11 @@ jobs:
id: set_job_name
run: |
if [[ "${{ github.event_name }}" == "schedule" ]]; then
echo "::set-output name=job_name::Scheduled E2E Custom Run Smoke Tests"
echo "job_name=Scheduled E2E Custom Run Smoke Tests" >> $GITHUB_ENV
else
echo "::set-output name=job_name::E2E Custom Run Smoke Tests"
echo "job_name=E2E Custom Run Smoke Tests" >> $GITHUB_ENV
fi
e2e_custom_run_smoke_tests:
name: ${{ needs.setup.outputs.job_name }}
environment: integration
Expand Down

0 comments on commit ffb75c5

Please sign in to comment.