srl295 / tagger-action

Create a TypeScript Action with tests, linting, workflow, publishing, and versioning

Home Page:https://github.com/actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Tagger Action

Tags the commit with a given ref

Getting Started

To use, create a workflow (eg: .github/workflows/label.yml see Creating a Workflow file) and add a step like 'tag commit' on the below sample. A token will be needed so the workflow can make calls to GitHub's rest API.

name: 'My workflow'

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - name: Tag commit
        uses: fatjyc/github-tagger@v0.0.1
        with:
          repo: 'repo'
          oowner: 'owner'
          token: 'token'
          ref: 'ref'
          tag: 'my_tag'

About

Create a TypeScript Action with tests, linting, workflow, publishing, and versioning

https://github.com/actions

License:MIT License


Languages

Language:TypeScript 87.6%Language:JavaScript 12.4%