diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f8adc1f..d4634a2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,9 +2,9 @@ name: Run tests on: push: - branches: [master] + branches: [main] pull_request: - branches: [master] + branches: [main] jobs: build: diff --git a/.gitignore b/.gitignore index 3c4d67a..aeaf757 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ node_modules .DS_Store coverage +.idea/ +.vscode/ \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 23830fb..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "git.ignoreLimitWarning": true -} diff --git a/LICENSE b/LICENSE deleted file mode 100644 index babc00c..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2020 Mehdi Vasigh - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md index 0621b1f..e1bbfd6 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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. }} 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 ** - Website: https://mvasigh.dev/ diff --git a/action.yml b/action.yml index bb90928..6f8e055 100644 --- a/action.yml +++ b/action.yml @@ -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' diff --git a/package.json b/package.json index f647c72..d126953 100644 --- a/package.json +++ b/package.json @@ -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 ", + "repository": "https://github.com/arundo/dispatch-action.git", + "author": "Jon Clayton ", "license": "MIT", "scripts": { "build": "ncc build ./src/index.js -o dist",