mirror of
https://github.com/hohn/codeql-lab.git
synced 2025-12-16 18:03:08 +01:00
Add workflow to mirror main to master
This commit is contained in:
17
.github/workflows/mirror-main-to-master.yml
vendored
Normal file
17
.github/workflows/mirror-main-to-master.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# 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
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Push main to master
|
||||
run: git push origin main:master
|
||||
Reference in New Issue
Block a user