Skip to content
Draft
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/linux-eic-shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1036,6 +1036,14 @@ jobs:
outputs:
json: ${{ steps.trigger.outputs.json }}
steps:
- uses: actions/github-script@v6
id: truncate_pipeline_name
with:
script: |
const name = process.env.PIPELINE_NAME;
return name ? name.substring(0, 255) : ''
env:
PIPELINE_NAME: ${{ github.event.pull_request.title || github.ref_name }}
- uses: eic/trigger-gitlab-ci@v3
id: trigger
with:
Expand All @@ -1048,7 +1056,7 @@ jobs:
GITHUB_SHA=${{ github.event.pull_request.head.sha || github.sha }}
GITHUB_PR=${{ github.event.pull_request.number }}
EICRECON_VERSION="${{ github.event.pull_request.head.ref || github.ref_name }}"
PIPELINE_NAME=${{ github.repository }}: ${{ github.event.pull_request.title || github.ref_name }}
PIPELINE_NAME=${{ steps.truncate_pipeline_name.outputs.result }}
- name: Post a GitHub CI status
run: |
gh api \
Expand Down