Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 7afe9ac

Browse files
authored
Add auto roller to GitHub Actions. (#135)
1 parent 38d5304 commit 7afe9ac

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/roll.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Roll WebRTC revision
2+
on:
3+
push:
4+
branches:
5+
- 88-sdk
6+
7+
jobs:
8+
roll:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
with:
13+
repository: open-webrtc-toolkit/owt-client-native
14+
ref: refs/heads/master
15+
fetch-depth: 0
16+
token: ${{ secrets.OWT_BOT_TOKEN }}
17+
- uses: actions/setup-python@v2
18+
- run: pip install requests
19+
- run: python scripts/roll_webrtc.py --base_branch master --revision $GITHUB_SHA --token $OWT_BOT_TOKEN
20+
env:
21+
OWT_BOT_TOKEN: ${{ secrets.OWT_BOT_TOKEN }}

0 commit comments

Comments
 (0)