Skip to content

inherelab/action-go-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

action-go-template

deploy-image Test-run

Template for GitHub action with golang

Init Template

  • please replace action-go-template to your project name.

Example Workflow

Create a workflow (eg: .github/workflows/my-action.yml see Creating a Workflow file) to utilize the labeler action with content:

name: "Pull Request Labeler"
on:
- pull_request
jobs:
  labels:
    runs-on: ubuntu-latest
    steps:
    - uses: hi-actions/action-go-template@main
      env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          LABEL_CONFIG: .github/labeler.yml # this is default

Note: This grants access to the GITHUB_TOKEN so the action can make calls to GitHub's rest API

About

Template for github action with golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •