-
Notifications
You must be signed in to change notification settings - Fork 149
38 lines (36 loc) · 1.23 KB
/
label_update.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
37
38
name: Update missing labels
on:
push:
branches:
- 'master'
jobs:
update-labels:
runs-on: ubuntu-latest
steps:
- name: Setup Java
run: |
curl -O https://cdn.azul.com/zulu/bin/zulu11.68.17-ca-fx-jdk11.0.21-linux_amd64.deb
sudo apt-get -y install ./zulu11.68.17-ca-fx-jdk11.0.21-linux_amd64.deb
- name: Checkout main source
uses: actions/checkout@v4
with:
path: 'main'
- name: Checkout doc source
env:
QBOT_TOKEN: ${{ secrets.QBOT_TOKEN }}
run: |
git clone https://quelea-bot:${QBOT_TOKEN}@github.com/quelea-projection/quelea-projection.github.io.git ./doc
- name: Find missing labels
run: |
cd main/Quelea
chmod +x gradlew
chmod +x build-install.sh
./gradlew -Dnightly=true -Dversionsuffix=CI-UNSTABLE labelcheck
cd ../..
cp main/Quelea/dist/missinglabels.js doc/lang/
cd doc
git add lang/missinglabels.js
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m "Update missing labels file" || true
git push