Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(ci): remove GitHub Actions that rely on Node 20 (#13194)

Tobias Wochinger824758349d5f
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index d3d007a5d0..933ca0f989 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -30,10 +30,28 @@ jobs:
contents: read
pull-requests: read
steps:
+ # Replaces fkirc/skip-duplicate-actions — skips runs whose git tree
+ # was already tested in a prior successful run of this workflow.
- id: skip_check
- uses: fkirc/skip-duplicate-actions@f75f66ce1886f00957d99748a42c724f4330bdcf # v5
- with:
- do_not_skip: '["workflow_dispatch"]'
+ env:
+ GH_TOKEN: ${{ github.token }}
+ run: |
+ if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
+ echo "should_skip=false" >> "$GITHUB_OUTPUT"
+ exit 0
+ fi
+
+ CURRENT_TREE=$(gh api "repos/${{ github.repository }}/git/commits/${{ github.sha }}" --jq '.tree.sha')
+
+ MATCH=$(gh api "repos/${{ github.repository }}/actions/workflows/pipeline.yml/runs?status=success&per_page=20" \
+ --jq "[.workflow_runs[] | select(.id != ${{ github.run_id }} and .head_commit.tree_id == \"$CURRENT_TREE\")] | first | .head_sha // empty")
+
+ if [[ -n "$MATCH" ]]; then
+ echo "::notice::Tree $CURRENT_TREE already tested in a prior successful run (commit $MATCH) — skipping"
+ echo "should_skip=true" >> "$GITHUB_OUTPUT"
+ else
+ echo "should_skip=false" >> "$GITHUB_OUTPUT"
+ fi
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
# Recommended for paths-filter action
@@ -642,13 +660,53 @@ jobs:
run: exit 1
working-directory: .
- name: Notify Slack
- uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # v2
- if: always() && github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
+ if: failure() && github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
+ uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
with:
- status: ${{ job.status }}
- notify_when: "failure"
- env:
- SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
+ webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
+ webhook-type: incoming-webhook
+ payload: |
+ {
+ "text": "❌ CI failed on ${{ github.ref_name }}",
+ "blocks": [
+ {
+ "type": "header",
+ "text": {
+ "type": "plain_text",
+ "text": "❌ CI Failed",
+ "emoji": true
+ }
+ },
+ {
+ "type": "section",
+ "fields": [
+ {
+ "type": "mrkdwn",
+ "text": "*Branch/Tag:*\n`${{ github.ref_name }}`"
+ },
+ {
+ "type": "mrkdwn",
+ "text": "*Triggered by:*\n${{ github.actor }}"
+ }
+ ]
+ },
+ {
+ "type": "actions",
+ "elements": [
+ {
+ "type": "button",
+ "text": {
+ "type": "plain_text",
+ "text": "View Workflow Logs",
+ "emoji": true
+ },
+ "url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
+ "style": "danger"
+ }
+ ]
+ }
+ ]
+ }
- name: Output job results
run: |
echo "Job results: ${STEPS_SET_SUCCESS_OUTPUT_OUTPUTS_SUCCESS}"
@@ -921,10 +979,50 @@ jobs:
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1
- name: Notify Slack
- uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # v2
- if: always()
+ if: failure()
+ uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
with:
- status: ${{ job.status }}
- notify_when: "failure"
- env:
- SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
+ webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
+ webhook-type: incoming-webhook
+ payload: |
+ {
+ "text": "❌ Docker release failed on ${{ github.ref_name }}",
+ "blocks": [
+ {
+ "type": "header",
+ "text": {
+ "type": "plain_text",
+ "text": "❌ Docker Release Failed",
+ "emoji": true
+ }
+ },
+ {
+ "type": "section",
+ "fields": [
+ {
+ "type": "mrkdwn",
+ "text": "*Tag:*\n`${{ github.ref_name }}`"
+ },
+ {
+ "type": "mrkdwn",
+ "text": "*Triggered by:*\n${{ github.actor }}"
+ }
+ ]
+ },
+ {
+ "type": "actions",
+ "elements": [
+ {
+ "type": "button",
+ "text": {
+ "type": "plain_text",
+ "text": "View Workflow Logs",
+ "emoji": true
+ },
+ "url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
+ "style": "danger"
+ }
+ ]
+ }
+ ]
+ }
diff --git a/.github/zizmor.yml b/.github/zizmor.yml
index c8f5688fdc..8d9dcaa0e4 100644
--- a/.github/zizmor.yml
+++ b/.github/zizmor.yml
@@ -17,7 +17,5 @@ rules:
- LANGFUSE_LLM_CONNECTION_BEDROCK_REGION
- LANGFUSE_LLM_CONNECTION_VERTEXAI_KEY
- LANGFUSE_LLM_CONNECTION_GOOGLEAISTUDIO_KEY
- # Shared CI notification secret, not tied to a deployment environment.
- - SLACK_WEBHOOK_URL
# Fern token is generation-only; GitHub write actions are handled by GH_ACCESS_TOKEN in a protected environment.
- FERN_TOKEN