summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMaximilian Cosmo Sitter <48606431+mcsitter@users.noreply.github.com>2021-01-29 15:19:54 +0100
committerGitHub <noreply@github.com>2021-01-29 16:19:54 +0200
commitbeda7a8a31a690a50d98e14263fcb2348ecb8bd6 (patch)
treec2e8ccf156473ca02a50bd202d9d7b214350ae40 /.github
parent6a5d47a243d2ddbf92fca5e807cf1324d60cabb1 (diff)
downloadpytest-beda7a8a31a690a50d98e14263fcb2348ecb8bd6.tar.gz
Add plugin list
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/update-plugin-list.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/update-plugin-list.yml b/.github/workflows/update-plugin-list.yml
new file mode 100644
index 000000000..10b5cb994
--- /dev/null
+++ b/.github/workflows/update-plugin-list.yml
@@ -0,0 +1,33 @@
+name: Update Plugin List
+
+on:
+ schedule:
+ # Run daily at midnight.
+ - cron: '0 0 * * *'
+ workflow_dispatch:
+
+jobs:
+ createPullRequest:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Setup Python
+ uses: actions/setup-python@v2
+ with:
+ python-version: 3.8
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install packaging requests tabulate[widechars]
+ - name: Update Plugin List
+ run: python scripts/update-plugin-list.py
+ - name: Create Pull Request
+ uses: peter-evans/create-pull-request@2455e1596942c2902952003bbb574afbbe2ab2e6
+ with:
+ commit-message: '[automated] Update plugin list'
+ branch: update-plugin-list/patch
+ delete-branch: true
+ branch-suffix: short-commit-hash
+ title: '[automated] Update plugin list'
+ body: '[automated] Update plugin list'