Skip to content

Commit

Permalink
run ci on upstream
Browse files Browse the repository at this point in the history
Signed-off-by: Pierrick Bouvier <[email protected]>
  • Loading branch information
pbo-linaro committed Oct 23, 2024
1 parent bf73f80 commit 7ed13ac
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/upstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
schedule:
- cron: '0 */5 * * *'
workflow_dispatch:

permissions: write-all

jobs:
push_upstream:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: git fetch -a origin --unshallow || true
- run: git config user.name "GitHub Actions Bot"
- run: git config user.email "<[email protected]>"
- run: git checkout ci
- run: git remote add upstream -f https://gitlab.com/qemu-project/qemu
- run: git rebase upstream/master
- run: git push -f --set-upstream origin "ci:upstream"

keepalive-job:
name: Keepalive Workflow
if: ${{ always() }}
needs: push_upstream
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: gautamkrishnar/keepalive-workflow@v2
with:
use_api: false

0 comments on commit 7ed13ac

Please sign in to comment.