aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/update-readme.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/update-readme.yml')
-rw-r--r--.github/workflows/update-readme.yml47
1 files changed, 0 insertions, 47 deletions
diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml
deleted file mode 100644
index 335756619..000000000
--- a/.github/workflows/update-readme.yml
+++ /dev/null
@@ -1,47 +0,0 @@
-name: Update README
-
-on:
- push:
- branches:
- - main
- workflow_dispatch:
-
-jobs:
- update-readme:
- name: Update README
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
-
- - uses: actions/create-github-app-token@v2
- id: app-token
- with:
- app-id: ${{ vars.TOKEN_ID }}
- private-key: ${{ secrets.TOKEN_PRIVATE_KEY }}
-
- - name: Prepare
- env:
- NVIM_TAG: nightly
- run: |
- bash ./scripts/ci-install.sh
-
- - name: Check README
- run: |
- nvim -l scripts/update-readme.lua || echo 'Needs update'
-
- - name: Create Pull Request
- uses: peter-evans/create-pull-request@v7
- with:
- add-paths: SUPPORTED_LANGUAGES.md
- token: ${{ steps.app-token.outputs.token }}
- sign-commits: true
- commit-message: "bot(readme): update"
- title: Update SUPPORTED_LANGUAGES.md
- body: "[beep boop](https://github.com/peter-evans/create-pull-request)"
- branch: update-readme-pr
- base: ${{ github.head_ref }}
-
- - name: Enable Pull Request Automerge
- env:
- GH_TOKEN: ${{ steps.app-token.outputs.token }}
- run: gh pr merge --rebase --auto update-readme-pr