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:
Tony Arcieri
2021-03-07 10:18:34 -08:00
committed by GitHub
parent 0487b3fc94
commit ad84df90d7

View 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