This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 863d6e03c2b Replace octopin with Dependabot to upgrade actions (#63039)
863d6e03c2b is described below
commit 863d6e03c2b56046d8c9d6e9873f221bfd6193a6
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Mar 7 21:56:45 2026 +0100
Replace octopin with Dependabot to upgrade actions (#63039)
Eclipse's octopin has been archived in Feb and will not get any
more updates https://github.com/eclipse-csi/octopin.
Dependabot should be good enough to do the updates for us.
---
.github/dependabot.yml | 5 +++++
.github/workflows/ci-amd-arm.yml | 28 ----------------------------
.pre-commit-config.yaml | 8 --------
3 files changed, 5 insertions(+), 36 deletions(-)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 021aff77f95..b9c56dec1fe 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -17,6 +17,11 @@
---
version: 2
updates:
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ # Check for updates to GitHub Actions every week
+ interval: "weekly"
- package-ecosystem: pip
cooldown:
default-days: 4
diff --git a/.github/workflows/ci-amd-arm.yml b/.github/workflows/ci-amd-arm.yml
index 3643392e011..ac5264f7a64 100644
--- a/.github/workflows/ci-amd-arm.yml
+++ b/.github/workflows/ci-amd-arm.yml
@@ -190,34 +190,6 @@ jobs:
- name: "Print architecture"
run: "echo '## Architecture: AMD' >> $GITHUB_STEP_SUMMARY"
- run-pin-versions-hook:
- name: "Pin actions"
- needs: [build-info]
- runs-on: ${{ fromJSON(needs.build-info.outputs.runner-type) }}
- if: needs.build-info.outputs.platform == 'linux/amd64'
- steps:
- - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #
v4.2.2
- with:
- persist-credentials: false
- - name: "Install prek"
- uses: ./.github/actions/install-prek
- id: prek
- with:
- # octopin needs python 3.11
- python-version: "3.11"
- platform: ${{ needs.build-info.outputs.platform }}
- save-cache: true
- - name: "Run pin-versions"
- run: |
- if ! prek --all-files --verbose --hook-stage manual pin-versions;
then
- echo -e "\n\033[0;31mThere are changes in actions hooks after
upgrade check.\033[0m"
- echo -e "\n\033[0;33mHow to fix:\033[0m Run \`breeze ci
upgrade\` locally to fix it!.\n"
- exit 1
- fi
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
basic-tests:
name: "Basic tests"
needs: [build-info]
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f5b78f1c5d8..66c93463168 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -30,14 +30,6 @@ repos:
description: Print input to the static check hooks for troubleshooting
- id: check-hooks-apply
name: Check if all hooks apply to the repository
- - repo: https://github.com/eclipse-csi/octopin
- rev: 67eac129b3e1d8ddb47e657bb2fda28c33d948ca # frozen: v0.1.4
- hooks:
- - id: pin-versions
- name: Pin versions of dependencies in CI workflows (manual)
- stages: ['manual']
- language: python
- language_version: python311
- repo: https://github.com/thlorenz/doctoc.git
rev: d7815f1f950f8d5ec933fa4f70208bf316bb13f8 # frozen: v2.3.0
hooks: