-
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (45 loc) · 1.35 KB
/
43.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
39
40
41
42
43
44
45
46
47
48
name: Güncelleme | 43
on:
schedule:
- cron: "*/3 * * * *"
workflow_dispatch:
jobs:
run-bot:
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
matrix:
node: [18.x]
steps:
- name: 🧱 Checkout repository
uses: actions/checkout@v4
- name: 🔩 Setup PNPM
uses: pnpm/action-setup@v2
with:
version: latest
- name: 🔩 Setup Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "pnpm"
- name: 🚀 Install dependencies
run: pnpm install
- name: ✨ Remove icons
run: pnpm app:remove
- name: ☑️ Commit Changes (removed icons)
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "[➖] Güncelleme"
branch: ${{ github.head_ref }}
commit_user_name: heytrgithub
commit_user_email: brawlertarikiletisim@gmail.com
- name: 🚀 Generate new icons
run: pnpm app:generate
- name: ☑️ Commit Changes (generated icons)
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "[➕] Güncelleme"
branch: ${{ github.head_ref }}
commit_user_name: heytrgithub
commit_user_email: brawlertarikiletisim@gmail.com