-
-
Notifications
You must be signed in to change notification settings - Fork 40
36 lines (31 loc) · 981 Bytes
/
update_emojis.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: Up to Date
on:
schedule:
- cron: "0 0 */7 * *"
workflow_dispatch:
jobs:
update:
name: Update emoji data files
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: npm ci
- name: Update Emoji data files
run: npm run update-emojis
- name: Create Pull Request if data files were changed
uses: peter-evans/create-pull-request@v6
with:
commit-message: "Update Emojis :octokit:"
branch: "update_emojis/patch"
delete-branch: true
title: Update Emojis
body: "The [update_emojis](https://github.com/rickstaa/github-emoji-picker/actions/workflows/update_emojis.yml) action found new/updated emotions."
labels: "ci, emojis"