Skip to content

Commit

Permalink
chore: troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
devops-chris committed Dec 15, 2023
1 parent 66033d1 commit 9f4b14d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/dev_pr_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Get PR ID
id: pr-id
shell: bash
env:
GITHUB_REF: ${{ inputs.github_ref }}
run: |
PR_NUMBER=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')
echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_OUTPUT
# - name: Get PR ID
# id: pr-id
# shell: bash
# env:
# GITHUB_REF: ${{ inputs.github_ref }}
# run: |
# PR_NUMBER=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')
# echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_OUTPUT

- name: Terraform Apply
uses: ./.github/actions/tf-apply
Expand All @@ -40,7 +40,7 @@ jobs:
azure_subscription_id: ${{ secrets.ARM_SUBSCRIPTION_ID }}
azure_tenant_id: ${{ secrets.ARM_TENANT_ID }}
github_token: ${{ secrets.GITHUB_TOKEN }}
pr_id: ${{ steps.pr-id.outputs.PR_NUMBER }}
pr_id: ${{ github.event.pull_request.number }}
plan_workflow_file: dev_pr.yml
# tf_vars: |
# {
Expand Down

0 comments on commit 9f4b14d

Please sign in to comment.