Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/elgohr/github-hub-action
- Owner: elgohr
- License: mit
- Created: 2019-03-31T14:14:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-06T01:01:54.000Z (about 3 years ago)
- Last Synced: 2024-10-15T17:38:41.583Z (about 1 month ago)
- Topics: actions, api, github, hub
- Language: Dockerfile
- Size: 17.6 KB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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