Skip to content

update bpf-next

update bpf-next #433

Workflow file for this run

name: update bpf-next
on:
# Allow manual triggers.
workflow_dispatch: {}
# Run once a day.
schedule:
- cron: "0 1 * * *"
jobs:
create-pr:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: commit
id: commit
run: |
id=$(date +%Y%m%d.%H%M%S)
git switch -c pr/bpf-next-${id}
git config user.name "GH action"
git config user.email "[email protected]"
echo "bpf-next $id" > misc/dummy
echo "bpf $id" >> misc/dummy
git add misc/dummy
git commit -a -m "bpf/bpf-next: $id"
git show HEAD
git push --set-upstream origin pr/bpf-next-${id}
echo "id=$id" | tee -a $GITHUB_OUTPUT
- name: push PR
env:
GH_TOKEN: ${{ secrets.LVH_GITHUB_TOKEN }}
run: |
id=${{ steps.commit.outputs.id }}
gh pr create \
-l "gha-builds/kernel/bpf-next" \
-l "gha-builds/kernel/bpf" \
--title "bpf/bpf-next update: $id" \
--body "PR to update bpf/bpf-next" \