Skip to content

Commit

Permalink
Support merge_group trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
duarten committed Sep 4, 2022
1 parent 356c0ca commit 96d5fd7
Show file tree
Hide file tree
Showing 9 changed files with 9,693 additions and 10,410 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# 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".
This GitHub action applies to pull request and merge group workflow triggers 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: umani/changed-files@v3.3.0
uses: umani/changed-files@v4.0.0
with:
repo-token: ${{ github.token }}
pattern: '^.*\.(md|markdown)$'
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "Changed Files Exporter"
description: "Exports the files created, modified or deleted by a PR"
author: "Duarte Nunes <duarten@hey.com>"
author: "Duarte Nunes <duarte at fastmail.com>"
inputs:
repo-token:
description: "The GITHUB_TOKEN secret"
Expand All @@ -23,7 +23,7 @@ outputs:
files_deleted:
description: "The names of the deleted files"
runs:
using: "node12"
using: "node16"
main: "dist/index.js"
branding:
icon: "wind"
Expand Down
Loading

0 comments on commit 96d5fd7

Please # to comment.