Files
advisory-db/.github/workflows/mirror-main-to-master.yml
Tony Arcieri ad84df90d7 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.
2021-03-07 10:18:34 -08:00

15 lines
331 B
YAML

# 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