Skip to content

ci: Bump integrate action #67

ci: Bump integrate action

ci: Bump integrate action #67

Workflow file for this run

# Copyright 2024 PULP Platform
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# Author: Nils Wistoff <[email protected]>
name: integration
on: [ push, pull_request_target, workflow_dispatch ]
jobs:
cheshire-integration:
runs-on: ubuntu-latest
timeout-minutes: 200
if: github.repository == 'pulp-platform/cva6'
steps:
- name: set vars
id: vars
shell: bash
run: |
if [[ "${{ github.event_name }}" == "pull_request_target" ]]; then
head_ref=${{ github.event.pull_request.head.sha }}
else
head_ref=$GITHUB_SHA
fi
echo "head_ref=$head_ref" >> $GITHUB_OUTPUT
- name: Integrate into cheshire
uses: pulp-platform/pulp-actions/integrate@nw/integrate
with:
ip-name: cva6
org: pulp-platform
repo: cheshire
base-ref: cva6/pulp-v1.0.0-rel
token: ${{ secrets.CHESHIRE_TOKEN }}
lifetime: 14
head-ref: ${{ steps.vars.outputs.head_ref }}