Skip to content

Commit

Permalink
Merge pull request #585 from ministryofjustice/feature/workflow-dispatch
Browse files Browse the repository at this point in the history
add workflow dispatch for manual triggers
  • Loading branch information
Khatraf authored Nov 4, 2024
2 parents 032ae98 + bc6d630 commit 71a0a60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/format-code.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: "Format Code: ensure code formatting guidelines are met"
on:
workflow_dispatch:

pull_request:
types: [opened, edited, reopened, synchronize]

Expand All @@ -12,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ministryofjustice/github-actions/code-formatter@ccf9e3a4a828df1ec741f6c8e6ed9d0acaef3490 # v18.5.0
# - uses: ministryofjustice/github-actions/code-formatter@ccf9e3a4a828df1ec741f6c8e6ed9d0acaef3490 # v18.5.0
with:
ignore-files: "README.md"
env:
Expand Down

0 comments on commit 71a0a60

Please sign in to comment.