Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 1.38 KB

README.md

File metadata and controls

51 lines (40 loc) · 1.38 KB

github-action GitHub Action

Table of Contents

Usage

Get issues from pull request

- name: github-action
  id: cgithub-action
  uses: tangem/github-action@main
  with:
    github-token: ${{secrets.TOKEN}}
    pull-number: '1'

  - name: Get the output issues
    run: echo "Issues: ${{ steps.commit-list-action.outputs.issues }}"      

Get issues from branches compare

- name: github-action
  id: cgithub-action
  uses: tangem/github-action@main
  with:
    github-token: ${{secrets.TOKEN}}
    base: 'main'
    head: 'test'

  - name: Get the output issues
    run: echo "Issues: ${{ steps.commit-list-action.outputs.issues }}"      

Inputs

Name Requirement Default Description
github-token required Token for access to GitHub
pull-number optional Number of pull request
base optional Base branch
head optional Branch for compare

Outputs

Name Requirement
issues list of issues (JSON stringify array)