Skip to content

Commit

Permalink
Update dispatch-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rocket13011 authored Apr 29, 2024
1 parent 73138b5 commit ac2486f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dispatch-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
id: search-repos
# This is a simple curl to fetch the list of repos containing a file and extracting the repo names
run: |
REPOS=$(curl -H "Accept: application/vnd.github.v3+json" "https://api.github.com/orgs/${{ github.repository_owner }}/repos?per_page=100&page=${{ github.event.inputs.page }}" | jq -c 'map(.name)')
REPOS=$(curl -H "Accept: application/vnd.github.v3+json" "https://api.github.com/orgs/${{ github.repository_owner }}/repos?per_page=100&page=${{ github.event.inputs.page }}" | jq -c 'map(select(.name | test("plugin")))')
echo "matrix=$REPOS" >> $GITHUB_OUTPUT
dispatch:
Expand Down

0 comments on commit ac2486f

Please sign in to comment.