-
Notifications
You must be signed in to change notification settings - Fork 4
47 lines (40 loc) · 1.31 KB
/
generate.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
name: "Generate"
on:
schedule:
- cron: "0 16 * * *"
workflow_dispatch:
env:
username: ccamel
jobs:
generate-readme:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
token: ${{ github.token }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_config_global: true
git_user_signingkey: true
git_commit_gpgsign: true
- name: Generate awesome README.md file
uses: luob/create-my-awesome@v1
with:
username: ${{ env.username }}
description: |-
> A collection of awesome things for me, myself and I.
Automatically generated with ❤️ by [Create My Awesome](https://github.com/marketplace/actions/create-my-awesome).
- name: Add & Commit changes
uses: EndBug/add-and-commit@v9
with:
message: "docs: add new repositories"
author_name: ${{ env.username }}
author_email: ${{ secrets.GPG_EMAIL }}
committer_name: ${{ env.username }}
committer_email: ${{ secrets.GPG_EMAIL }}
env:
GITHUB_TOKEN: ${{ github.token }}