Skip to content
Closed
Prev Previous commit
Next Next commit
chor
  • Loading branch information
s1n7ax committed Aug 7, 2025
commit fa63ea237e0ffa7757ea86136360b94aedce52a0
17 changes: 2 additions & 15 deletions .github/workflows/trigger-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,12 @@ on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_call:

jobs:
trigger-tests:
runs-on: ubuntu-latest

steps:
- name: Trigger workflow in nvim-java/tests
uses: actions/github-script@v7
with:
github-token: ${{ secrets.INTEGRATION_TEST_TOKEN }}
script: |
github.rest.repos.createDispatchEvent({
owner: 'nvim-java',
repo: 'tests',
event_type: 'test-nvim-java',
client_payload: {
triggered_by: context.repo.repo,
ref: context.sha,
event_type: context.eventName
}
});
uses: nvim-java/tests/.github/workflows/test-nvim-java.yml@main