Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

Fix workflows (#1265)

Aman Agarwal6a50ea0dd431
diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml
index f79244b7..a914c969 100644
--- a/.github/workflows/cli-release.yml
+++ b/.github/workflows/cli-release.yml
@@ -135,7 +135,8 @@ jobs:
# Bump via Dependabot (see .github/dependabot.yml).
- uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
with:
- name: openlit CLI v${{ steps.ver.outputs.VERSION }}
+ tag_name: cli-${{ steps.ver.outputs.VERSION }}
+ name: cli-${{ steps.ver.outputs.VERSION }}
files: release/*
draft: false
prerelease: false
diff --git a/.github/workflows/controller-release.yml b/.github/workflows/controller-release.yml
index 4fbe07e4..263b6749 100644
--- a/.github/workflows/controller-release.yml
+++ b/.github/workflows/controller-release.yml
@@ -135,6 +135,7 @@ jobs:
- name: Upload release assets
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v2
with:
+ name: ${{ github.ref_name }}
files: |
dist/*
diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml
index 37ac7936..ef9e1ff8 100644
--- a/.github/workflows/go-release.yml
+++ b/.github/workflows/go-release.yml
@@ -49,7 +49,7 @@ jobs:
- name: Create GitHub Release
uses: softprops/[email protected]
with:
- name: Go SDK v${{ steps.get_version.outputs.VERSION }}
+ name: ${{ github.ref_name }}
body_path: /tmp/changelog.md
draft: false
prerelease: false
diff --git a/.github/workflows/otel-gpu-collector-release.yml b/.github/workflows/otel-gpu-collector-release.yml
index 0f2588d7..1d3406a3 100644
--- a/.github/workflows/otel-gpu-collector-release.yml
+++ b/.github/workflows/otel-gpu-collector-release.yml
@@ -163,7 +163,7 @@ jobs:
- name: Create GitHub Release
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v2
with:
- name: "OTel GPU Collector ${{ steps.version.outputs.version }}"
+ name: ${{ github.ref_name }}
files: |
dist/*
generate_release_notes: true
diff --git a/.github/workflows/pr-tag.yml b/.github/workflows/pr-tag.yml
index 3f70c31f..2d00ec3e 100644
--- a/.github/workflows/pr-tag.yml
+++ b/.github/workflows/pr-tag.yml
@@ -1,6 +1,13 @@
name: Pull Request Labeler
+# pull_request_target is required for fork PRs: the default GITHUB_TOKEN on
+# pull_request is read-only for forks, so actions/labeler cannot set labels
+# ("Resource not accessible by integration"). This workflow only applies
+# labels from .github/labeler.yml based on changed file paths — it does not
+# checkout or execute code from the PR branch.
+# https://github.com/actions/labeler#recommended-permissions
on:
-- pull_request
+ pull_request_target:
+ types: [opened, synchronize, reopened, ready_for_review]
jobs:
labeler: