Skip to content

Commit

Permalink
update forked version from Medhi's repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mvasigh authored and JonClayton committed Jun 25, 2020
1 parent 7d246d2 commit 156a256
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 37 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Run tests

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
.DS_Store
coverage
.idea/
.vscode/
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# `dispatch-action`

![Version](https://img.shields.io/badge/version-1.1.6-blue.svg?cacheSeconds=2592000)
![Version](https://img.shields.io/badge/version-1.1.7-blue.svg?cacheSeconds=2592000)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](#)
[![Twitter: mehdi_vasigh](https://img.shields.io/twitter/follow/mehdi_vasigh.svg?style=social)](https://twitter.com/mehdi_vasigh)

> Create repository dispatch events to trigger a Github workflow from within another workflow
Expand All @@ -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
```
Expand Down Expand Up @@ -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: '@'
Expand Down Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Dispatch Action'
name: 'Arundo Dispatch Action'
description: 'Emit repository dispatch events to trigger other workflows'
branding:
icon: 'arrow-up-circle'
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "dispatch-action",
"version": "1.1.6",
"version": "1.2.0",
"main": "index.js",
"repository": "https://github.com/mvasigh/dispatch-action.git",
"author": "Mehdi Vasigh <mehdi.vasigh@gmail.com>",
"repository": "https://github.com/arundo/dispatch-action.git",
"author": "Jon Clayton <jon@arundo.com>",
"license": "MIT",
"scripts": {
"build": "ncc build ./src/index.js -o dist",
Expand Down

0 comments on commit 156a256

Please sign in to comment.