mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-28 07:18:07 +01:00
Mirror 'main' branch to 'master' (#819)
The 'master' branch has been renamed to 'main' per: https://github.com/RustSec/advisory-db/issues/312 However older clients are still consuming the 'master' branch. This commit adds a GitHub Actions job which mirrors the 'main' branch to 'master' to continue supporting these older clients.
This commit is contained in:
14
.github/workflows/mirror-main-to-master.yml
vendored
Normal file
14
.github/workflows/mirror-main-to-master.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
# Temporary job to support clients which still consume 'master'
|
||||
# See: <https://github.com/RustSec/advisory-db/issues/312>
|
||||
name: Mirror 'main' branch to 'master'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: master
|
||||
|
||||
jobs:
|
||||
publish-web:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: git push origin master:main
|
||||
Reference in New Issue
Block a user