Skip to content

Commit

Permalink
fix: force actions to run on the current repo (#5)
Browse files Browse the repository at this point in the history
* fix: force actions to run on the current repo
  • Loading branch information
jpantos authored Aug 17, 2024
1 parent 9a40864 commit 89c12f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/actions/run-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ runs:
- uses: actions/checkout@v4
with:
path: ${{ env.PANTOS_E2E_TESTS }}
repository: pantos-io/e2e-testing
ref: ${{ github.repository == 'pantos-io/e2e-testing' && github.ref || 'main' }}

- uses: pantos-io/ci-workflows/.github/actions/install-python-deps@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
- name: Run Tests
uses: jenseng/dynamic-uses@v1
with:
uses: ${{ github.repository }}/.github/actions/run-tests@${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || 'main' }}
uses: pantos-io/e2e-testing/.github/actions/run-tests@${{ github.repository == 'pantos-io/e2e-testing' && github.ref || 'main' }}

0 comments on commit 89c12f4

Please sign in to comment.