-
-
Notifications
You must be signed in to change notification settings - Fork 11
37 lines (29 loc) · 1.01 KB
/
update-versions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Update Version Dropdown
on:
release:
types: [published]
jobs:
update-versions:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyyaml requests
- name: Update bug-report.yml
env:
GITHUB_TOKEN: ${{ secrets.AZEROTH_PILOT_RELOADED }}
run: python .github/scripts/update_bug_report_template.py
# - name: Commit files
# run: |
# git config user.name "Aldric Ducreux"
# git config user.email "<>"
# git add .github/ISSUE_TEMPLATE/bug-report.yml
# git commit -am "Update version options in bug-report template" || true
# git push https://${{ secrets.AZEROTH_PILOT_RELOADED }}@github.com/Azeroth-Pilot-Reloaded/azeroth-pilot-reloaded.git HEAD:dev