Skip to content

Commit

Permalink
ci: trigger depup workflows of other reviwedog action repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa committed Aug 4, 2020
1 parent 0bb4fe3 commit 2963553
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ jobs:
# update https://github.com/reviewdog/homebrew-tap.
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}

- name: Trigger depup workflows
if: "steps.tag.outputs.value != ''"
env:
# Need to use personal access token instead of default token to
# trigger workflow of other repositories.
DEPUP_GITHUB_API_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
run: go run ./scripts/trigger-depup/main.go

release-check:
if: github.event.action == 'labeled'
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2963553

Please sign in to comment.