Skip to content

Commit 6b917d7

Browse files
author
Sreeparna Deb
committed
chore(ci): test update available-plugins md on push
1 parent a5239af commit 6b917d7

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/update-available-plugins.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
11
name: Update Available-Plugins Table
22

33
on:
4-
workflow_dispatch:
4+
push:
5+
branches:
6+
- test-auto-update-available-plugins
57

68
jobs:
79
regen-table:
810
runs-on: ubuntu-latest
911
steps:
10-
# 1. Checkout the branch that triggered this run, with full history so we can commit back
12+
# 1. Checkout the branch that was pushed
1113
- name: Checkout repository
1214
uses: actions/checkout@v3
1315
with:
1416
fetch-depth: 0
15-
persist-credentials: true # so pushes use the built-in GITHUB_TOKEN
17+
persist-credentials: true
1618

17-
# 2. Prepare Python
19+
# 2. Set up Python
1820
- name: Set up Python
1921
uses: actions/setup-python@v4
2022
with:
2123
python-version: '3.x'
2224

23-
# 3. Install our one dependency
25+
# 3. Install HTTP library
2426
- name: Install requests
2527
run: pip install requests
2628

@@ -36,4 +38,4 @@ jobs:
3638
with:
3739
commit_message: "chore: auto-update Available-Plugins.md"
3840
file_pattern: Available-Plugins.md
39-
branch: ${{ github.ref_name }} # push back to the branch that triggered the run
41+
branch: test-auto-update-available-plugins

0 commit comments

Comments
 (0)