diff --git a/.github/workflows/pull-request-integration.yml b/.github/workflows/pull-request-integration.yml index c5685e10..5900a102 100644 --- a/.github/workflows/pull-request-integration.yml +++ b/.github/workflows/pull-request-integration.yml @@ -25,6 +25,11 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + ref: ${{ github.head_ref }} + + - name: show changes files + run: | + git diff --name-only $DEFAULT_BRANCH - name: get changed module_utils id: changed-module-utils diff --git a/changelogs/fragments/291-pr-integration-tests-branch.yaml b/changelogs/fragments/291-pr-integration-tests-branch.yaml new file mode 100644 index 00000000..bd642ec1 --- /dev/null +++ b/changelogs/fragments/291-pr-integration-tests-branch.yaml @@ -0,0 +1,2 @@ +minor_changes: + - integration tests - set pull request integration tests to run against branch instead of last commit (https://github.com/ansible-collections/community.digitalocean/issues/291).