Skip to content

Commit

Permalink
use pull_request event and environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Sep 12, 2024
1 parent 0e766cc commit 0ca0ef2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: E2E Test Check
on:
pull_request_target:
types: ['opened', 'reopened', 'synchronize']
pull_request:
types: ['opened', 'synchronize']
paths:
- '.github/**'
- '.github/workflows/**'
Expand All @@ -28,9 +28,9 @@ jobs:
dir_names_max_depth: 2
- name: test pr
env:
ARM_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
ARM_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
ARM_SUBSCRIPTION_ID: ${{ vars.AZURE_SUBSCRIPTION_ID }}
ARM_TENANT_ID: ${{ vars.AZURE_TENANT_ID }}
ARM_CLIENT_ID: ${{ vars.AZURE_CLIENT_ID }}
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
echo "change files" $ALL_CHANGED_FILES
Expand Down

0 comments on commit 0ca0ef2

Please sign in to comment.