forked from mvasigh/dispatch-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update forked version from Medhi's repo
- Loading branch information
1 parent
7d246d2
commit 156a256
Showing
7 changed files
with
15 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
node_modules | ||
.DS_Store | ||
coverage | ||
.idea/ | ||
.vscode/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
# `dispatch-action` | ||
|
||
 | ||
 | ||
[](#) | ||
[](https://twitter.com/mehdi_vasigh) | ||
|
||
> Create repository dispatch events to trigger a Github workflow from within another workflow | ||
|
@@ -22,12 +21,12 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Emit repository_dispatch | ||
uses: mvasigh/dispatch-action@master | ||
uses: arundo/dispatch-action@main | ||
with: | ||
# You should create a personal access token and store it in your repository | ||
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
# You need a GitHub token with repo read and write rights | ||
token: ${{ secrets.<name of token secret> }} | ||
repo: other-repo | ||
owner: mvasigh | ||
owner: arundo | ||
event_type: sample_push | ||
``` | ||
|
@@ -62,7 +61,7 @@ Here is an example: | |
# Dispatcher workflow in submodule | ||
steps: | ||
- name: Dispatch submodule_push event | ||
uses: mvasigh/dispatch-action@master | ||
uses: arundo/dispatch-action@main | ||
with: | ||
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
repo: '@' | ||
|
@@ -96,6 +95,7 @@ This action accepts the following options: | |
|
||
## Author | ||
|
||
This repo has been forked from the personal GitHub of Mehdi Vasigh, former Arundo employee so that it can be maintained by Arundo | ||
👤 **Mehdi Vasigh <[email protected]>** | ||
|
||
- Website: https://mvasigh.dev/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters