LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
[MISC] Pin GitHub Actions to commit SHAs and let Dependabot update them (#2390)
Ritwik G389a6eb80fe4
diff --git a/.github/dependabot.yml b/.github/dependabot.ymlnew file mode 100644index 000000000..9a1488cb2--- /dev/null+++ b/.github/dependabot.yml@@ -0,0 +1,20 @@+# Keeps the SHA-pinned actions in .github/workflows current: one grouped PR a+# week that bumps each pin and its version comment.+#+# Dependabot-triggered runs get only Dependabot secrets (none are set) and a+# read-only GITHUB_TOKEN. ci-test.yaml therefore skips its Docker Hub login+# (pulls go anonymous) and its sticky PR comment for dependabot[bot].+version: 2+updates:+ - package-ecosystem: "github-actions"+ directory: "/"+ schedule:+ interval: "weekly"+ groups:+ github-actions:+ patterns:+ - "*"+ commit-message:+ # Trailing space stops Dependabot inserting a colon after the "]",+ # so titles read "[DEPS] Bump ...".+ prefix: "[DEPS] "diff --git a/.github/workflows/ci-frontend-lint.yaml b/.github/workflows/ci-frontend-lint.yamlindex 1c87375a9..7131ecf9c 100644--- a/.github/workflows/ci-frontend-lint.yaml+++ b/.github/workflows/ci-frontend-lint.yaml@@ -50,7 +50,7 @@ jobs:uses: actions/checkout@v6- name: Setup Biome- uses: biomejs/setup-biome@v2+ uses: biomejs/setup-biome@4c91541eaada48f67d7dbd7833600ce162b68f51 # v2.7.1with:version: "2.3.13"diff --git a/.github/workflows/ci-test.yaml b/.github/workflows/ci-test.yamlindex 66239e7b3..8509f496b 100644--- a/.github/workflows/ci-test.yaml+++ b/.github/workflows/ci-test.yaml@@ -166,8 +166,10 @@ jobs:- name: Login to Docker Hub# Authenticated pulls avoid the anonymous rate limit shared by all- # runners. Forks have no access to secrets.- if: github.event.pull_request == null || github.event.pull_request.head.repo.fork == false+ # runners. Forks have no access to secrets, and neither do runs+ # Dependabot triggers (they get only Dependabot secrets, none set), so+ # both pull anonymously and can hit Docker Hub's rate limit.+ if: (github.event.pull_request == null || github.event.pull_request.head.repo.fork == false) && github.actor != 'dependabot[bot]'uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4.4.0with:username: ${{ secrets.DOCKERHUB_USERNAME }}@@ -206,14 +208,14 @@ jobs:run: ./run-platform.sh -e- name: Set up Docker Buildx- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4+ uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0# Bake instead of `compose build` so each ephemeral runner restores layers# from the GHA cache the release workflow also writes (matching per-service# scopes), instead of building cold every run. `load` exports the images# into the daemon so the compose stack can boot them.- name: Build service images- uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7+ uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0with:files: ./docker/docker-compose.build.yamlload: true@@ -339,8 +341,10 @@ jobs:key: unstract-test-baseline-main-${{ github.run_id }}- name: Render combined test report to PR+ # Dependabot runs get a read-only GITHUB_TOKEN, so the comment would be+ # refused; skip it there like forks. The job summary still carries it.uses: marocchino/sticky-pull-request-comment@70d2764d1a7d5d9560b100cbea0077fc8f633987 # v3.0.2- if: always() && hashFiles('reports/combined-test-report.md') != '' && github.event.pull_request.head.repo.fork == false+ if: always() && hashFiles('reports/combined-test-report.md') != '' && github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]'with:header: test-resultsrecreate: truediff --git a/.github/workflows/docker-tools-build-push.yaml b/.github/workflows/docker-tools-build-push.yamlindex b18507a9a..dc1173b82 100644--- a/.github/workflows/docker-tools-build-push.yaml+++ b/.github/workflows/docker-tools-build-push.yaml@@ -36,19 +36,19 @@ jobs:# Set up QEMU for ARM64 emulation- name: Set up QEMU- uses: docker/setup-qemu-action@v4+ uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0with:platforms: linux/amd64,linux/arm64/v8# Set up Docker Buildx for better caching and multi-arch builds- name: Set up Docker Buildx- uses: docker/setup-buildx-action@v4+ uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1with:platforms: linux/amd64,linux/arm64/v8# Log in to Docker Hub- name: Login to Docker Hub- uses: docker/login-action@v4+ uses: docker/login-action@81c6f93d4bc991e510b342a00b419b3bb4efc5c6 # v4.7.0with:username: ${{ secrets.DOCKERHUB_USERNAME }}password: ${{ secrets.DOCKERHUB_TOKEN }}@@ -86,7 +86,7 @@ jobs:# Build and push Docker image- name: Build and push ${{ github.event.inputs.service_name }}- uses: docker/build-push-action@v7+ uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0with:context: ${{ steps.build-config.outputs.context }}file: ${{ steps.build-config.outputs.dockerfile }}diff --git a/.github/workflows/production-build.yaml b/.github/workflows/production-build.yamlindex 8a9745b30..b91d35b33 100644--- a/.github/workflows/production-build.yaml+++ b/.github/workflows/production-build.yaml@@ -119,19 +119,19 @@ jobs:# Set up QEMU for ARM64 emulation- name: Set up QEMU- uses: docker/setup-qemu-action@v4+ uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0with:platforms: linux/amd64,linux/arm64/v8# Set up Docker Buildx for better caching and multi-arch builds- name: Set up Docker Buildx- uses: docker/setup-buildx-action@v4+ uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1with:platforms: linux/amd64,linux/arm64/v8# Log in to Docker Hub- name: Login to Docker Hub- uses: docker/login-action@v4+ uses: docker/login-action@81c6f93d4bc991e510b342a00b419b3bb4efc5c6 # v4.7.0with:username: ${{ secrets.DOCKERHUB_USERNAME }}password: ${{ secrets.DOCKERHUB_TOKEN }}@@ -167,7 +167,7 @@ jobs:# Build and push using Docker Bake- name: Build and push image- uses: docker/bake-action@v7+ uses: docker/bake-action@59cb1203cd42bcefd40a1b6d73b589e48c86040e # v7.5.0env:VERSION: ${{ env.DOCKER_VERSION_TAG }}with:@@ -352,7 +352,7 @@ jobs:# Send summary notification to Slack- name: Send Slack summary notificationif: always()- uses: slackapi/[email protected]+ uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1with:webhook-type: incoming-webhookpayload: |diff --git a/.github/workflows/release-notification.yaml b/.github/workflows/release-notification.yamlindex 8aba0ed3e..f22e83285 100644--- a/.github/workflows/release-notification.yaml+++ b/.github/workflows/release-notification.yaml@@ -10,7 +10,7 @@ jobs:steps:- name: Send Slack notification- uses: slackapi/[email protected]+ uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1with:webhook-type: incoming-webhookpayload: |diff --git a/.github/workflows/uv-lock-automation.yaml b/.github/workflows/uv-lock-automation.yamlindex af4961add..38756b976 100644--- a/.github/workflows/uv-lock-automation.yaml+++ b/.github/workflows/uv-lock-automation.yaml@@ -38,7 +38,7 @@ jobs:ref: ${{ github.head_ref }}- name: Install uv- uses: astral-sh/setup-uv@v7+ uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0with:# Install a specific version of uv.version: "0.6.14"@@ -72,7 +72,7 @@ jobs:shell: bash- name: Commit uv.lock changes- uses: stefanzweifel/git-auto-commit-action@v7+ uses: stefanzweifel/git-auto-commit-action@d0b01107b5db882071f96de5dd4b54961ea93f4c # v7.2.1with:commit_message: Commit uv.lock changescommit_user_name: uv-lock-automation[bot]