Skip to content

Use github-mirror-action@v3 #10

Use github-mirror-action@v3

Use github-mirror-action@v3 #10

Workflow file for this run

name: 'mirror and test'
on:
push:
branches:
- __mirror
schedule:
# Run everyday at 3 AM UTC
- cron: '0 3 * * *'
workflow_dispatch:
jobs:
#mirror:
# runs-on: ubuntu-latest
# name: mirror
# steps:
# - name: mirror
# id: mirror
# uses: bridgelightcloud/github-mirror-action@v3
# with:
# origin: 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git'
# GITHUB_TOKEN: ${{ secrets.PAT }}
build_matrix:
runs-on: ubuntu-latest
strategy:
matrix:
branch: ['linux-6.1.y', 'linux-5.15.y' ]
steps:
- uses: actions/checkout@v3
with:
ref: ${{ matrix.branch }}
- name: build
run: |
pwd
if git log --oneline | grep "Linux\ .*\-rc.*"; then
echo "build"
else
echo "nobuild"
fi