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=$(