CI #1871
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |