Skip to content

Commit

Permalink
Build actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pngwn committed Aug 6, 2024
1 parent 35e5601 commit 68deea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/filter-paths/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86795,7 +86795,7 @@ async function run() {
}
const filter = filters[filter_name];
let files = [];
if (context.payload.event_name === "pull_request") {
if (context.eventName === "pull_request") {
for await (const response of octokit.paginate.iterator(
octokit.rest.pulls.listFiles,
{
Expand All @@ -86807,7 +86807,7 @@ async function run() {
)) {
files = [...files, ...parse_data(response.data)];
}
} else if (context.payload.event_name === "push") {
} else if (context.eventName === "push") {
const response = await octokit.rest.repos.getCommit({
owner: context.repo.owner,
repo: context.repo.repo,
Expand Down

0 comments on commit 68deea0

Please sign in to comment.