Sen descrición

dependabot[bot] d13ac883c3 Bump ajv from 6.12.0 to 6.12.6 %!s(int64=2) %!d(string=hai) anos
dist 74ccc4143b PreMiD mods %!s(int64=4) %!d(string=hai) anos
src d75f05a666 join by newlines not spaces %!s(int64=4) %!d(string=hai) anos
.gitignore 4f717ac50d Initial commit %!s(int64=5) %!d(string=hai) anos
LICENSE 4f717ac50d Initial commit %!s(int64=5) %!d(string=hai) anos
README.md 5306e1f7a1 Add optional `pr-number` input (#8) %!s(int64=4) %!d(string=hai) anos
action.yml fef8371ec3 fix action.yml %!s(int64=4) %!d(string=hai) anos
package.json d5d036fea7 Add "pack" yarn script %!s(int64=4) %!d(string=hai) anos
tsconfig.json 4f717ac50d Initial commit %!s(int64=5) %!d(string=hai) anos
yarn.lock d13ac883c3 Bump ajv from 6.12.0 to 6.12.6 %!s(int64=2) %!d(string=hai) anos

README.md

Changed Files Action

This GitHub action applies to pull requests and populates 3 output variables with the modified files. They are: "files_created", "files_updated", and "files_deleted".

Workflow Config Example

- name: Changed Files Exporter
  uses: futuratrepadeira/changed-files@v3.1.0
  with:
    repo-token: ${{ github.token }}
    pattern: '^.*\.(md|markdown)$'

Inputs

  • repo-token: GitHub Access Token
  • pattern (optional): A regular expression to filter the outputs by. Defaults to '.*'.
  • pr-number (optional): The pull request number. If not provided, the pull request is inferred from the given context. Useful for actions running outside the pull_request event context.

Outputs

All output values are a single JSON encoded array.

  • files_created: Created files
  • files_updated: Updated files
  • files_deleted: Deleted files