Skip to content

Commit

Permalink
ENH: Update "commit-message" workflow to use dedicated GitHub action
Browse files Browse the repository at this point in the history
Switch to using the dedicated slicer-check-commit-message-action
for better tracking of updates by Dependabot. This replaces the
reusable workflow previously maintained in the Slicer repository.

By pinning the version of the standalone action, Dependabot will now
track updates specific to the commit-message action, avoiding
unnecessary references to broader Slicer changes.
  • Loading branch information
jcfr committed Sep 10, 2024
1 parent a35b8fe commit c81473b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/commit-message.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ permissions:

jobs:
check-commit-message:
uses: Slicer/Slicer/.github/workflows/commit-message.yml@418027bc07ce0aff12fe97c0e769062cc090a961 # main
runs-on: ubuntu-latest
steps:
- name: Check Commit Message
uses: Slicer/slicer-check-commit-message-action@26db1d4a0580194025a00bff6f5c24a88c0efb9f # v1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ permissions:

jobs:
check-commit-message:
uses: Slicer/Slicer/.github/workflows/commit-message.yml@f2b79dcfcbf628695607cfa68789d1c0143de2c0 # main
runs-on: ubuntu-latest
steps:
- name: Check Commit Message
uses: Slicer/slicer-check-commit-message-action@26db1d4a0580194025a00bff6f5c24a88c0efb9f # v1.0.0
with:
token: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}

0 comments on commit c81473b

Please sign in to comment.