-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (28 loc) · 945 Bytes
/
blank.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI
on:
push:
branches: [ "master" ]
schedule:
- cron: "0 */6 * * *"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: sync libre fsf la
run: |
echo Add other actions to build,
export mdy=`date`
git config --local user.email "[email protected]"
git config --local user.name "zhenruyan"
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git pull --all
git remote add libre git://linux-libre.fsfla.org/releases.git
git fetch libre
git fetch libre --prune --tags
git commit --allow-empty -m "sync libre kernel ${mdy}"
git push origin --all
git push origin --tags