Skip to content

Commit

Permalink
run validation tasks using pull_request_target which will have perm…
Browse files Browse the repository at this point in the history
…issions to interact with this repo through GH API
  • Loading branch information
drewda committed Jan 15, 2025
1 parent 280e0d4 commit 6bc91f4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-feed-urls.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Check feed URLs in changed DMFR files

on:
pull_request:
pull_request_target:
paths:
- 'feeds/*.dmfr.json'
types: [opened, synchronize]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Comment on PRs that need DMFR formatting changes
on:
pull_request:
pull_request_target:
paths:
- '**.dmfr.json'
permissions:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Validate
on: [push, pull_request, workflow_dispatch]
on: [push, pull_request_target, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6bc91f4

Please sign in to comment.