File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -167,3 +167,31 @@ jobs:
167167 ref : ${{github.event.pull_request.head.sha}}
168168 - run : git config user.name "github-runner" && git config user.email "<>"
169169 - run : git rebase --exec 'git log -1 --pretty=format:%B | grep -q "^Signed-off-by:"' --root
170+ apply :
171+ runs-on : ubuntu-latest
172+ steps :
173+ - uses : actions/checkout@v4
174+ with :
175+ repository : Rust-for-Linux/linux
176+ path : " kernel"
177+ ref : pin-init-next
178+ - uses : actions/checkout@v4
179+ with :
180+ path : " pin-init"
181+ fetch-depth : 0
182+ ref : ${{github.event.pull_request.head.sha}}
183+ - run : |
184+ pushd kernel
185+ git config user.name "github-runner" && git config user.email "<>"
186+ popd # kernel
187+
188+ pushd pin-init
189+ git config user.name "github-runner" && git config user.email "<>"
190+ git fetch
191+ if ! yes | bash ./to-kernel.sh ../kernel origin/next; then
192+ if ! git am --3way; then
193+ git am --show-current-patch=diff
194+ false
195+ fi
196+ false
197+ fi
Original file line number Diff line number Diff line change @@ -60,7 +60,8 @@ head=$(git rev-parse HEAD)
6060git am \
6161 --signoff \
6262 --directory=" rust/pin-init" \
63- --exclude=" rust/pin-init/sync-kernel.sh" \
63+ --exclude=" rust/pin-init/to-kernel.sh" \
64+ --exclude=" rust/pin-init/from-kernel.sh" \
6465 --exclude=" rust/pin-init/LICENSE-APACHE" \
6566 --exclude=" rust/pin-init/LICENSE-MIT" \
6667 --exclude=" rust/pin-init/CHANGELOG.md" \
You can’t perform that action at this time.
0 commit comments