File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 55 paths-ignore :
66 - datadog_checks_base/datadog_checks/**
77 - datadog_checks_dev/datadog_checks/dev/*.py
8- # Also run if we modify the workflow files
9- - ' .github/workflows/pr.yml'
10- - ' .github/workflows/pr-test.yml'
11- - ' .github/workflows/test-target.yml'
128 merge_group :
139 # We require this workflow to pass in order to merge a PR to master.
1410 # This means Github's Merge Queue also requires it to pass.
Original file line number Diff line number Diff line change @@ -112,6 +112,15 @@ jobs:
112112
113113 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
114114
115+ - name : Download workflow scripts
116+ if : inputs.repo != 'core'
117+ run : |
118+ mkdir -p .github/workflows/scripts
119+ curl -sL https://raw.githubusercontent.com/DataDog/integrations-core/master/.github/workflows/scripts/setup-test-env.sh -o .github/workflows/scripts/setup-test-env.sh
120+ curl -sL https://raw.githubusercontent.com/DataDog/integrations-core/master/.github/workflows/scripts/run-unit-integration-tests.sh -o .github/workflows/scripts/run-unit-integration-tests.sh
121+ curl -sL https://raw.githubusercontent.com/DataDog/integrations-core/master/.github/workflows/scripts/run-e2e-tests.sh -o .github/workflows/scripts/run-e2e-tests.sh
122+ chmod +x .github/workflows/scripts/*.sh
123+
115124 - name : Set environment variables
116125 # This step sets the following environment variables for the entire workflow via setup-test-env.sh:
117126 # FORCE_COLOR
@@ -175,8 +184,8 @@ jobs:
175184 DD_GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
176185
177186 - name : Tag job for CI Visibility
178- # Skip on fork PRs since secrets won't be available
179- if : env.INPUT_IS_FORK != 'true'
187+ # Skip on fork PRs and non-core repos since secrets won't be available
188+ if : env.INPUT_IS_FORK != 'true' || env.INPUT_REPO == 'core'
180189 uses : ./.github/actions/tag-job
181190 with :
182191 tags : ${{ env.DD_TAGS }}
You can’t perform that action at this time.
0 commit comments