Skip to content

Commit

Permalink
Do not hardcode the default branch for linter (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
cicdguy committed Mar 4, 2024
1 parent fb61cfc commit 66c739e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
uses: super-linter/super-linter/slim@v5
env:
LINTER_RULES_PATH: /
DEFAULT_BRANCH: main
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
FILTER_REGEX_EXCLUDE: NEWS.md|design/.*|testthat/_snaps/.*
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: false
Expand Down

0 comments on commit 66c739e

Please sign in to comment.