Skip to content

Commit

Permalink
Restrict action runs to pull requests that include changes to projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Wehmöller committed Sep 25, 2024
1 parent 801b4d3 commit 55b6f1b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/merged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request_target:
types: [ closed ]
branches: [ master ]
paths:
- 'projects/*/data.json'
- 'projects/*/logo.png'

permissions:
contents: write
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Ronin Ecosystem Validator
on:
pull_request_target:
branches: [master]
paths:
- 'projects/*/data.json'
- 'projects/*/logo.png'

permissions:
contents: write
Expand Down

0 comments on commit 55b6f1b

Please sign in to comment.