Skip to content

Up to Date

Up to Date #147

Workflow file for this run

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"