Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.18 KB

README.md

File metadata and controls

57 lines (39 loc) · 1.18 KB

omg.lol to GitHub status sync action

Sync your omg.lol status to your GitHub user profile status.

Inputs

omg_lol_user

Required An omg.lol username. Used to retrieve the latest status of the user.

github_token

Required A GitHub Personal Access Token with user scopes. Used for updating the GitHub user profile status.

Outputs

emoji

The emoji used in the status.

message

The status message text.

Example usage

uses: lucasmelin/omg.lol-gh-status-sync-action@v1
with:
  omg_lol_user: lucasmelin
  github_token: ${{ secrets.PERSONAL_USER_TOKEN }}

Development

Install the dependencies

$ npm install

Build the typescript and package it for distribution

$ npm run build && npm run package

Publish

$ npm run package
$ git add dist
$ git commit -a -m "Production dependencies"
$ git push origin releases/v1