Skip to content

Commit

Permalink
Merge pull request #54 from TharindaDilshan/master
Browse files Browse the repository at this point in the history
Trigger Standard Library dependency update
  • Loading branch information
Bhashinee authored Nov 24, 2020
2 parents 9969467 + 50d7eb2 commit 06380c5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/stdlib-workflow-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Stdlib Dependency Update

on:
push:
paths:
- 'build.gradle'
- 'gradle.properties'

jobs:
trigger-workflow:
runs-on: ubuntu-latest
if: github.repository_owner == 'ballerina-platform'
steps:
- name: Initiating repository event
run: |
curl -u ${{ secrets.BALLERINA_BOT_USERNAME }} -X POST \
https://api.github.com/repos/ballerina-platform/ballerina-standard-library/dispatches \
-H 'Accept: application/vnd.github.v3+json' \
-H 'Authorization: token ${{ secrets.BALLERINA_BOT_TOKEN }}' \
--data '{
"event_type": "dependency-update"
}'

0 comments on commit 06380c5

Please sign in to comment.