mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-15 21:00:47 +00:00
29 lines
763 B
YAML
29 lines
763 B
YAML
name: Merge fbsync to master
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- fbsync
|
|
|
|
jobs:
|
|
do_merge:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.8
|
|
architecture: x64
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
token: ${{ secrets.MERGEBOT_TOKEN }}
|
|
|
|
- name: Setup committer id
|
|
run: |
|
|
git config --global user.email "pytorchmergebot@users.noreply.github.com"
|
|
git config --global user.name "PyTorch MergeBot"
|
|
- name: Sync branches
|
|
run: |
|
|
python3 .github/scripts/syncbranches.py --sync-branch="${GITHUB_REF#refs/heads/}" --default-branch=master
|