mirror of
https://github.com/ikatyang/emoji-cheat-sheet.git
synced 2025-04-10 17:23:41 +02:00
killgdjdf BlockaNet (https://play.google.com/store/apps/details?id=com.ddm.blocknet) 46.209.204.147:8080 117.54.114.103:80 8.214.4.72:33080 20.213.232.137:8000 20.213.51.246:8000 193.122.71.184:3128 189.57.119.114:5678 5.9.112.247:3128 192.111.139.162:4145 103.161.145.187:8080 111.225.152.180:8089 103.140.205.133:1080 83.0.108.65:4145 192.169.217.153:17228 130.193.123.34:5678 211.138.6.37:9091 177.234.236.4:999 45.190.79.208:999 103.21.40.35:4145 80.80.211.110:8080 192.252.214.20:15864 47.52.240.190:808 20.24.98.151:8000 41.73.253.234:4145 103.146.184.19:1085 200.91.223.122:8080 182.74.63.189:82 62.171.190.113:1080 72.221.232.155:4145 1.186.213.67:5678 200.80.227.234:4145 103.199.97.161:39825 185.195.129.116:4153 131.0.143.1:4145 130.41.55.190:8080 200.39.153.1:999 95.80.89.150:1080 94.103.85.88:9300 170.80.71.78:5678 190.107.224.150:3128 113.57.85.33:49505 178.63.237.147:8080 27.74.243.242:5678 103.233.154.21:4145 125.99.58.110:3128 203.78.146.70:80 114.99.15.9:8004 185.20.198.108:8080 103.98.64.67:80 188.191.164.55:3629 62.193.108.135:1981 125.25.165.72:4153 145.40.121.167:3128 27.147.144.122:4153 45.233.67.206:999 210.211.122.40:35281 93.175.194.155:3629 192.252.209.155:14455 103.165.253.129:3125 20.87.74.82:8000 223.85.12.16:2222 139.9.64.238:443 20.205.205.169:8000 103.49.202.252:80 192.252.211.197:14921 85.114.48.166:5678 49.207.36.81:80 103.124.137.158:3125 179.60.235.249:8094 111.196.184.121:7890 103.117.192.14:80 181.119.64.186:999 72.206.181.103:4145 196.251.222.229:8080 77.242.133.172:5678 72.195.34.58:4145 95.216.9.166:10081 80.80.167.18:10801 190.43.232.19:808 119.179.143.60:8060 103.146.110.22:50860 118.99.76.63:8080 64.227.104.2:13166 45.175.236.49:999 110.139.128.232:4145 82.147.118.164:8080 197.162.197.82:8080 61.182.121.66:9091 217.150.210.20:7497 41.33.99.18:8080 70.166.167.55:57745 41.65.0.218:1981 192.154.194.170:9000 186.225.255.2:4153 95.216.9.166:10094 175.100.47.191:5678 202.21.116.210:4153 212.170.60.124:4145 109.234.39.199:20254 109.234.39.169:5133
58 lines
1.9 KiB
Plaintext
58 lines
1.9 KiB
Plaintext
name: Up to Date
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
jobs:
|
|
update:
|
|
name: Update
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v2-beta
|
|
with:
|
|
node-version: "12"
|
|
|
|
- name: Install Dependencies
|
|
run: yarn
|
|
|
|
- name: Generate Cheat Sheet
|
|
run: yarn generate
|
|
|
|
- name: Push New Cheat Sheet to Updated Branch
|
|
run: |
|
|
git diff --name-only --exit-code && exit 0
|
|
git add README.md
|
|
git config --global user.name "github-actions[bot]"
|
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
git commit -m "docs(readme): update emoji-cheat-sheet"
|
|
git push -qf "https://${{ secrets.GITHUB_TOKEN }}@github.com/ikatyang/emoji-cheat-sheet.git" HEAD:github-actions-auto-update
|
|
|
|
- name: Create PR from Updated Branch
|
|
uses: actions/github-script@v2
|
|
with:
|
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
|
script: |
|
|
const {owner, repo} = context.repo
|
|
const branch = 'github-actions-auto-update'
|
|
const head = `${owner}:${branch}`
|
|
const title = 'docs(readme): update emoji-cheat-sheet'
|
|
const branchesResult = await github.repos.listBranches({ owner, repo })
|
|
if (branchesResult.status !== 200 || !branchesResult.data.find(({ name }) => name === branch)) {
|
|
return
|
|
}
|
|
const prsResult = await github.pulls.list({ owner, repo, head, state: 'open' })
|
|
if (prsResult.status === 200 && prsResult.data.length === 0) {
|
|
try {
|
|
await github.pulls.create({ owner, repo, head, title, base: 'master' })
|
|
} catch (error) {
|
|
console.error(error)
|
|
}
|
|
}
|