Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

mycsHQ/get-changed-files-action

Repository files navigation

get-changed-files-action

This action gets the changed file for a given action run event. It is only using github API, not the git command line.

NB: Only push and pull_request workflow event are supported.

Usage

See action.yml

  - uses: ./
    id: files
    with:
      token: ${{ secrets.GITHUB_TOKEN }}

Inputs

token

Required GITHUB_TOKEN or a repo scoped Personal Access Token

Outputs

all

All the changed files.