diff --git a/.github/workflows/prevent-manual-extension-registry-changes.yml b/.github/workflows/prevent-manual-extension-registry-changes.yml new file mode 100644 index 0000000000..4e7ae1fee7 --- /dev/null +++ b/.github/workflows/prevent-manual-extension-registry-changes.yml @@ -0,0 +1,32 @@ +# This workflow prevents users from manually changing the +# docs/sources/next/extensions/explore.md file. + +# Changes to the registry should only be made automatically +# by the extension-registry-changed workflow. + +name: Prevent file change +on: + pull_request: + types: [opened, reopened] + paths: + - 'docs/sources/k6/**/extensions/explore.md' + +permissions: + pull-requests: read + +jobs: + prevent-file-change: + runs-on: ubuntu-latest + steps: + - name: Checkout + with: + persist-credentials: false + uses: actions/checkout@v4 + + - name: Prevent manual changes to the extension registry file + uses: xalvarez/prevent-file-change-action@4e88b842aed52bb42b94537ad9736eac06930266 # v2.0.0 + with: + githubToken: ${{ secrets.GITHUB_TOKEN }} + pattern: .*\extensions/explore\.md + trustedAuthors: heitortsergent, szkiba, pablochacin, andrewslotin, mstoykov, inancgumus, oleiade, ankur22, codebien, joanlopez, AgnesToulet + allowNewFiles: true # To prevent issues when we release a new version of k6 diff --git a/docs/sources/k6/next/extensions/explore.md b/docs/sources/k6/next/extensions/explore.md index af1ecde387..ddf8991c75 100644 --- a/docs/sources/k6/next/extensions/explore.md +++ b/docs/sources/k6/next/extensions/explore.md @@ -6,6 +6,8 @@ weight: 01 # Explore k6 extensions +Test? + With over 50 available extensions, the k6 extension ecosystem has many options to meet your requirements and help you incorporate new protocol access, embed a particular client, or improve your test performance. Extensions are developed both by the k6 developers and by the open-source developer community. Extensions are composable; you can combine any extensions, or mix and match different test cases. You can use [Go and xk6](https://grafana.com/docs/k6//extensions/build-k6-binary-using-go/) or [Docker](https://grafana.com/docs/k6//extensions/build-k6-binary-using-docker/) to build your custom k6 binary: