From 494d5b26518b3e12dd39a438d8696e6550bf9dce Mon Sep 17 00:00:00 2001 From: Animesh Kumar Date: Tue, 31 Oct 2023 23:41:06 +0530 Subject: [PATCH] Delete .github/workflows/update-docs-on-docs-commits.yml Changes: - deleted this workflow because as told by Lukasz because it will be centrally managed in .github repo by https://github.com/asyncapi/.github/issues/242 --- .../workflows/update-docs-on-docs-commits.yml | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/update-docs-on-docs-commits.yml diff --git a/.github/workflows/update-docs-on-docs-commits.yml b/.github/workflows/update-docs-on-docs-commits.yml deleted file mode 100644 index a57aa2297..000000000 --- a/.github/workflows/update-docs-on-docs-commits.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: 'Update generated parts of documentation on docs: commits' - -on: - push: - branches: - - master - -jobs: - docs-gen: - name: 'Generate docs and create PR' - # PR should be created within this GH action only if it is a docs: commit - # Otherwise it will conflict with release workflow - if: startsWith(github.event.commits[0].message, 'docs:') - runs-on: ubuntu-latest - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - name: Check package-lock version - uses: asyncapi/.github/.github/actions/get-node-version-from-package-lock@master - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: "${{ steps.lockversion.outputs.version }}" - - name: Install dependencies - run: npm ci - - name: Regenerate docs - run: npm run generate:assets --if-present - - name: Create Pull Request with updated docs - if: startsWith(github.event.commits[0].message, 'docs:') - uses: peter-evans/create-pull-request@38e0b6e68b4c852a5500a94740f0e535e0d7ba54 # use 4.2.4 https://github.com/peter-evans/create-pull-request/releases/tag/v4.2.4 - with: - token: ${{ secrets.GH_TOKEN }} - commit-message: 'chore: update generated docs' - committer: asyncapi-bot - author: asyncapi-bot - title: 'chore: update generated docs' - body: 'Update of docs that are generated and were forgotten on PR level.' - branch: gen-docs-update -