Skip to content

add repo-dispatch action with test - #15

Merged
dennisvang merged 13 commits into
mainfrom
issue14-repo-dispatch
Jun 26, 2026
Merged

add repo-dispatch action with test#15
dennisvang merged 13 commits into
mainfrom
issue14-repo-dispatch

Conversation

@dennisvang

@dennisvangdennisvang commented Feb 19, 2025

Copy link
Copy Markdown
Collaborator

Added a repo-dispatch action that triggers a repository_dispatch event in another repository via the github API.

This requires a personal access token with "Contents" write permission for the target repository, in the secret-token variable.

See api docs.

Usage example:

jobs:
e2e:
needs: publishruns-on: ubuntu-lateststeps:
- name: trigger e2e testsuses: FAIRDataTeam/github-workflows/.github/actions/repo-dispatch@v3with:
secret-token: ${{ secrets.MY_REPO_DISPATCH_TOKEN }}target-repo-name: FAIRDataPoint-E2E-Teststarget-repo-owner: FAIRDataTeamevent-type: trigger-testsclient-payload: | { "fdp_version": "${{ github.ref_name }}", "fdp_client_version": "latest" }

fixes#14

@dennisvang
dennisvang marked this pull request as draft February 19, 2025 13:05
@dennisvang
dennisvangforce-pushed the issue14-repo-dispatch branch from 68b399b to 1db94b6CompareJune 3, 2025 10:57
@dennisvang
dennisvangforce-pushed the issue14-repo-dispatch branch from 1db94b6 to 5dba6e7CompareJune 26, 2026 08:31
@dennisvang
dennisvang marked this pull request as ready for review June 26, 2026 09:50
@dennisvang
dennisvang merged commit 28de58e into mainJun 26, 2026
9 checks passed
@dennisvang
dennisvang deleted the issue14-repo-dispatch branch June 26, 2026 11:52
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

repository dispatch action

1 participant

@dennisvang