Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
name: Readme CI

on:
push:
branches: [main]
repository_dispatch:
types: [readme]
workflow_dispatch:

jobs:
release:
name: Update README
runs-on: ubuntu-18.04
summarize:
name: Update README.md and api.json
runs-on: ubuntu-latest
# Don't run this workflow when [skip ci] is passed
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Update notes summary
uses: actions/checkout@v3
with:
# Fetch full history to figure out created date
fetch-depth: 0
- name: Update note summary
uses: AnandChowdhary/notes-summary@HEAD
with:
token: "${{ secrets.GH_PAT }}"
commitMessage: ":pencil: Update RFCs summary [skip ci]"
dirName: "rfcs"
token: ${{ secrets.GITHUB_TOKEN || github.token }}
directory: "rfcs"