Skip to content

Use github-mirror-action@v3 #8

Use github-mirror-action@v3

Use github-mirror-action@v3 #8

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 }}
linux-6_1_y:
#needs: mirror
runs-on: ubuntu-latest
steps:
- name: linux-6_1_y
uses: actions/checkout@v3
with:
ref: linux-6.1.y
run: |
pwd
if [ git log --oneline | grep "Linux\ .*\-rc.*" ]; then
echo "build"
else
echo "nobuild"
fi