FFFF add: auto generate the RFC XML file from Markdown by MahdiBaghbani · Pull Request #174 · cs3org/OCM-API · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

add: auto generate the RFC XML file from Markdown #174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2025
Merged
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
38 changes: 38 additions & 0 deletions .github/workflows/rfc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build RFC XML

on:
push:
paths: [IETF-RFC.md]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

# Ruby setup
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: false

- name: Install kramdown-rfc
run: gem install --no-document kramdown-rfc

- name: Convert Markdown → XML
run: kramdown-rfc IETF-RFC.md > IETF-RFC.xml

# Commit the result back to the repo
- uses: EndBug/add-and-commit@v9
with:
add: IETF-RFC.xml
message: 'CI: regenerate IETF-RFC.xml'
author_name: github-actions
author_email: actions@github.com

- uses: actions/upload-artifact@v4
with:
name: rfc-xml
path: IETF-RFC.xml
0