Skip to content

Commit

Permalink
Run on changes of github action file (e.g. main.yml) #15
Browse files Browse the repository at this point in the history
  • Loading branch information
sroertgen committed Jan 29, 2024
1 parent 3cf1b00 commit 63f1dbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ jobs:
with:
files: |
**/*.ttl
**/*.yml
json: "true"

- name: Set matrix
id: set-matrix
run: echo "ttl=${{ steps.changed-files.outputs.all_changed_files }}" >> $GITHUB_OUTPUT
run: echo "ttl=$(echo ${{ steps.changed-files.outputs.all_changed_files }} | grep '\.ttl$')" >> $GITHUB_OUTPUT

validate:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 63f1dbe

Please sign in to comment.