Skip to content

Commit

Permalink
Merge pull request #1103 from jason-fox/patch-2
Browse files Browse the repository at this point in the history
Fix #1021 - Add repository dispatch
  • Loading branch information
fgalan authored Sep 14, 2021
2 parents deb9752 + 8044f45 commit 35b2b2e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name: CI
pull_request:
branches:
- master
workflow_dispatch:
jobs:
lint-markdown:
name: Lint Markdown
Expand Down Expand Up @@ -89,3 +90,18 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

dispatch:
needs: unit-test
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
strategy:
matrix:
repo: ['telefonicaid/iotagent-ul', 'telefonicaid/sigfox-iotagent', 'telefonicaid/iotagent-json', 'telefonicaid/lightweightm2m-iotagent']
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: ${{ matrix.repo }}
event-type: lib-update

0 comments on commit 35b2b2e

Please sign in to comment.