Skip to content

Commit

Permalink
Add repository dispatch
Browse files Browse the repository at this point in the history
Upstream fix for #1021
  • Loading branch information
jason-fox authored Sep 14, 2021
1 parent 627d799 commit 8044f45
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 8044f45

Please sign in to comment.