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

Set top level token permission for roll.yaml. (#205) #43

Set top level token permission for roll.yaml. (#205)

Set top level token permission for roll.yaml. (#205) #43

Workflow file for this run

name: Roll WebRTC revision
permissions: read-all
on:
push:
branches:
- 108-sdk
jobs:
roll:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v2
with:
repository: open-webrtc-toolkit/owt-client-native
ref: refs/heads/main
fetch-depth: 0
token: ${{ secrets.OWT_BOT_TOKEN }}
- uses: actions/setup-python@v2
- run: pip install requests
- run: python scripts/roll_webrtc.py --base_branch main --revision $GITHUB_SHA --token $OWT_BOT_TOKEN
env:
OWT_BOT_TOKEN: ${{ secrets.OWT_BOT_TOKEN }}