Rebase Upstream #671
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Rebase Upstream | |
on: # yamllint disable-line rule:truthy | |
schedule: | |
- cron: "30 2 * * *" # run nightly | |
workflow_dispatch: # run manually | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout local code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Rebase with upstream | |
uses: imba-tjd/[email protected] | |
with: | |
upstream: vyos/vyos-build | |
branch: current | |
depth: 0 | |
- name: Push remote tags to fork | |
run: | | |
set -ex; | |
git fetch upstream --tags; | |
git push origin --tags; | |
shell: bash |