Up to Date #131
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |