Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elgohr/github-hub-action

Interacting with Github in an action
https://github.com/elgohr/github-hub-action

actions api github hub

Last synced: about 1 month ago
JSON representation

Interacting with Github in an action

Awesome Lists containing this project

README

        

# Github-Hub-Action
[![Actions Status](https://github.com/elgohr/Github-Hub-Action/workflows/Test/badge.svg)](https://github.com/elgohr/Github-Hub-Action/actions)

Interacting with Github in an action

## Usage

### New workflow
```yaml
name: Publish Release
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Create a Release
uses: elgohr/Github-Hub-Action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: release create $(date +%Y%m%d%H%M%S)

```

## Argument

The actions you want to perform on Github.
All commands can be found at https://hub.github.com/hub.1.html