Skip to content

docs(operator): migration guide from kgo 1.6.x to ko 2.0 #10042

docs(operator): migration guide from kgo 1.6.x to ko 2.0

docs(operator): migration guide from kgo 1.6.x to ko 2.0 #10042

Workflow file for this run

name: Broken Links
on:
pull_request:
types: [synchronize, ready_for_review, opened, labeled, unlabeled]
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
env:
BUNDLE_GITHUB__COM: x-access-token:${{ secrets.BUNDLE_GITHUB__COM }}
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Harden Runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit
- name: Check if manual review has been performed
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
id: labels
with:
script: |
const { data: labels } = await github.rest.issues.listLabelsOnIssue({
...context.repo,
issue_number: context.issue.number
});
return labels.map(l => l.name).includes('ci:manual-approve:link-validation')
outputs:
result: ${{ steps.labels.outputs.result }}
build:
needs: [check]
if: needs.check.outputs.result == 'false' && !contains(github.event.pull_request.title, '[skip ci]')
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Harden Runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: Wait for Pages changed to be neutral
uses: fountainhead/action-wait-for-check@5a908a24814494009c4bb27c242ea38c93c593be # v1.2.0
id: waitForCheck
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
token: ${{ secrets.GITHUB_TOKEN }}
checkName: "Pages changed - kongdeveloper"
- name: Wait for Netlify site to be ready
if: steps.waitForCheck.outputs.conclusion == 'neutral'
uses: jakepartusch/wait-for-netlify-action@f1e137043864b9ab9034ae3a5adc1c108e3f1a48 # v1.4
id: waitForNetlify
with:
site_name: "kongdeveloper"
max_timeout: 120
- name: Run link checker
run: |
cd tools/broken-link-checker
npm ci
node run.js pr \
--base_url https://deploy-preview-${{ github.event.pull_request.number }}--kongdeveloper.netlify.app
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}