Merge pull request #65 from github/shati-patel/mirror-main

Add workflow to mirror main to master
This commit is contained in:
Shati Patel
2021-04-29 22:19:18 +01:00
committed by GitHub

View File

@@ -0,0 +1,18 @@
# The default branch is "main", but older checkouts may still use "master".
# This workflow keeps "master" up to date with "main".
name: Mirror main to master
on:
push:
branches: [ main ]
jobs:
mirror-main-to-master:
runs-on: ubuntu-latest
if: github.repository == 'github/vscode-codeql-starter'
steps:
- uses: actions/checkout@v2
- name: Push main to master
run: git push origin main:master