Skip to content

Use github-mirror-action@v3 #7

Use github-mirror-action@v3

Use github-mirror-action@v3 #7

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: |

Check failure on line 31 in .github/workflows/mirror.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/mirror.yml

Invalid workflow file

You have an error in your yaml syntax on line 31
pwd
if [ git log --oneline | grep "Linux\ .*\-rc.*" ]; then
echo "build"
else
echo "nobuild"
fi