Skip to content

Commit

Permalink
Revert "ci: Change gitlab-ci trigger to pull_request_target (#216)"
Browse files Browse the repository at this point in the history
This reverts commit 1674a11.

The gitlab-ci pulp-action does not support `pull_request_target`
(yet). Consider re-applying #216 once support for
`pull_request_target` has been implemented in gitlab-ci.
  • Loading branch information
niwis committed Mar 16, 2024
1 parent f36f4cc commit 2bb4bc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

name: gitlab-ci

on: [ push, pull_request_target, workflow_dispatch ]
on: [ push, pull_request, workflow_dispatch ]

jobs:
gitlab-ci:
runs-on: ubuntu-latest
if: github.repository == 'pulp-platform/common_cells'
if: github.repository == 'pulp-platform/common_cells' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
steps:
- name: Check Gitlab CI
uses: pulp-platform/pulp-actions/gitlab-ci@v1
Expand Down

0 comments on commit 2bb4bc1

Please sign in to comment.