From 17d524133bf2d8a26e206a80e0eb67af3f79b7a7 Mon Sep 17 00:00:00 2001 From: mau Date: Thu, 7 Mar 2024 23:39:22 +0100 Subject: [PATCH] Delete .github/workflows/check_apachekafka_release.yaml --- .../workflows/check_apachekafka_release.yaml | 50 ------------------- 1 file changed, 50 deletions(-) delete mode 100644 .github/workflows/check_apachekafka_release.yaml diff --git a/.github/workflows/check_apachekafka_release.yaml b/.github/workflows/check_apachekafka_release.yaml deleted file mode 100644 index 5b422db..0000000 --- a/.github/workflows/check_apachekafka_release.yaml +++ /dev/null @@ -1,50 +0,0 @@ -name: Update Kafka Version Table - -on: - schedule: - - cron: '*/5 * * * *' - -jobs: - update_security_md: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Get Kafka versions - id: get_versions - run: | - versions=$(curl -s https://downloads.apache.org/kafka/ | grep -oP 'href="\K[^"]+' | grep -E '^[0-9]+\.[0-9]+\.[0-9]+/' | sort -rV | sed 's/\/$//') - echo "::set-output name=versions::$versions" - - - name: Generate version table - run: | - versions=${{ steps.get_versions.outputs.versions }} - echo "| Version | Supported |" > table.md - echo "| ------- | ------------ |" >> table.md - for version in $versions; do - if curl --output /dev/null --silent --head --fail "https://downloads.apache.org/kafka/$version/"; then - echo "| $version | :white_check_mark: |" >> table.md - else - echo "| $version | :x: |" >> table.md - fi - done - - - name: Update SECURITY.md - run: | - table=$( SECURITY.md.new - mv SECURITY.md.new SECURITY.md - - - name: Commit changes - run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" - git add SECURITY.md - if ! git diff --staged --quiet; then - git commit -m "Update Kafka version table - GH Action Pipeline run" - git push - else - echo "No changes to commit. Exiting job as successful." - fi