Skip to content

Commit

Permalink
ci(pre-commit): Do not pin the action
Browse files Browse the repository at this point in the history
It changes so quickly.
  • Loading branch information
5ouma committed Jan 7, 2025
1 parent 42fa507 commit f087946
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: 🚸 pre-commit

on:
push:
branches: [main]
branches:
- main
pull_request:

jobs:
Expand All @@ -11,4 +12,4 @@ jobs:

steps:
- name: 🚸 Run pre-commit
uses: 5ouma/utils/pre-commit@973639b350016dec6fe7f665f4650d22ea1935d5 # main
uses: 5ouma/utils/pre-commit@main

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action '🚸 pre-commit' step
Uses Step
uses '5ouma/utils/pre-commit' with ref 'main', not a pinned commit hash

0 comments on commit f087946

Please sign in to comment.