Skip to content

Commit

Permalink
Add modify workflow check before lint and version check
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeebru committed Jan 15, 2024
1 parent db33f8e commit 8dd69c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/workflow-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ jobs:
echo "modified-workflows=$MODIFIED_EXISTING_WORKFLOWS" >> $GITHUB_OUTPUT
- name: Workflow Lint
if: steps.changed-workflows.outputs.modified-workflows != ''
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: bitwarden/gh-actions/lint-workflow@main
with:
workflows: ${{ steps.changed-workflows.outputs.modified-workflows }}

- name: Get changed files
if: steps.changed-workflows.outputs.modified-workflows != ''
id: changed-files
uses: tj-actions/changed-files@716b1e13042866565e00e85fd4ec490e186c4a2f # v41.0.1
with:
Expand Down

0 comments on commit 8dd69c8

Please sign in to comment.