action.yml 831 B

1234567891011121314151617181920212223242526272829
  1. name: 'Changed Files Exporter'
  2. description: 'Exports the files created, modified or deleted by a PR'
  3. author: 'Duarte Nunes <duarte.m.nunes@gmail.com'
  4. inputs:
  5. repo-token:
  6. description: 'The GITHUB_TOKEN secret'
  7. required: false
  8. default: ${{ github.token }}
  9. pattern:
  10. description: 'A regular expression to filter the outputs by.'
  11. required: false
  12. default: '.*'
  13. pr-number:
  14. description: 'The pull request number (if absent, the pull request is inferred from the given context).'
  15. required: false
  16. outputs:
  17. files_created:
  18. description: 'The names of the newly created files'
  19. files_updated:
  20. description: 'The names of the updated files'
  21. files_deleted:
  22. description: 'The names of the deleted files'
  23. runs:
  24. using: 'node12'
  25. main: 'dist/index.js'
  26. branding:
  27. icon: 'wind'
  28. color: 'green'