Skip to content

Commit

Permalink
fixup! CI: Add cheshire CI
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Wistoff <[email protected]>
  • Loading branch information
niwis committed Feb 20, 2024
1 parent de90bdf commit 7e5acf3
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/cheshire.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,25 @@
# SPDX-License-Identifier: Apache-2.0

name: cheshire
on: [push, pull_request]
on: [push, pull_request_target]

jobs:
init:
name: init
trigger_cheshire_ci:
name: Trigger Cheshire CI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout Cheshire
uses: actions/checkout@v4
with:
repository: pulp-platform/cheshire
path: cheshire
ref: cva6/pulp-v1.0.0
run-cheshire-ci:
name: run-cheshire-ci
needs: init-cheshire
uses: pulp-platform/cheshire/.github/workflows/lint.yml@cva6/pulp-v1.0.0
token: ${{ secrets.CHESHIRE_TOKEN }}
- name: Patch Bender.lock
run: "sed -i \"/ cva6:/{n;s/.*/ revision: $GITHUB_SHA/;}\" Bender.lock"
- name: Commit ref
run: |
git checkout -b cva6-ci/$(git rev-parse --short "$GITHUB_SHA")
git add Bender.lock
git commit -c user.name='CVA6 CI Bot' -c user.email='[email protected]' -m "CVA6 regression test"
- name: Push ref
run: git push

0 comments on commit 7e5acf3

Please sign in to comment.