Skip to content

Commit

Permalink
ci: don't test ownership for actions (openfoodfacts#10653)
Browse files Browse the repository at this point in the history
As we often use them on PR from foreign repositories
  • Loading branch information
alexgarel authored Aug 7, 2024
1 parent 4712db1 commit 5c111d6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pr_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ jobs:
name: "On demand linting"
if: |
github.event.issue.pull_request &&
(github.event.comment.body == '/lint') &&
contains(fromJSON('["COLLABORATOR", "CONTRIBUTOR", "MEMBER", "OWNER"]'), github.event.comment.author_association)
(github.event.comment.body == '/lint')
runs-on: ubuntu-latest
steps:
- name: Get branch name
Expand Down Expand Up @@ -58,8 +57,7 @@ jobs:
name: "On demand Update Tests Results"
if: |
github.event.issue.pull_request &&
(github.event.comment.body == '/update_tests_results') &&
contains(fromJSON('["COLLABORATOR", "CONTRIBUTOR", "MEMBER", "OWNER"]'), github.event.comment.author_association)
(github.event.comment.body == '/update_tests_results')
runs-on: ubuntu-latest
steps:
- name: Get branch name
Expand Down

0 comments on commit 5c111d6

Please sign in to comment.