Skip to content
play

GitHub Action

Octokit.js

v1.0.2 Latest version

Octokit.js

play

Octokit.js

A generic Octokit.js GitHub Action

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Octokit.js

uses: juliangruber/octokit-action@v1.0.2

Learn more about this action in juliangruber/octokit-action

Choose a version

octokit-action

An experimental generic Octokit.js GitHub Action.

Usage

steps:
  - name: Render markdown
    uses: juliangruber/octokit-action@v1
    id: markdown
    with:
      github-token: ${{ secrets.GITHUB_TOKEN }}
      command: markdown.render
      text: '#beep\nboop!'
  - name: Print
    run: echo "${response}"
    env:
      response: ${{ steps.markdown.outputs.response }}

Related

License

MIT