...

Text file src/gotest.tools/v3/.github/workflows/sync-main.yaml

Documentation: gotest.tools/v3/.github/workflows

     1name: Merge main into master
     2
     3on:
     4  push:
     5    branches: [main]
     6
     7jobs:
     8  sync:
     9    name: Merge main branch
    10    runs-on: ubuntu-latest
    11    steps:
    12    - uses: actions/checkout@v2
    13      with: {fetch-depth: 0}
    14    - name: merge
    15      run: |
    16        git checkout master
    17        git merge --ff-only main
    18        git push origin master

View as plain text