Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit

Permalink
Fix failing super linter run on push
Browse files Browse the repository at this point in the history
`DEFAULT_BRANCH` set to  `${{ github.base_ref || github.ref_name }} `
so it uses the base branch name for PRs and the branch itself (main/dev) for the rest
  • Loading branch information
webthethird committed Jul 6, 2023
1 parent fd8a944 commit 36f1030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
VALIDATE_ALL_CODEBASE: false
# Compare against the base branch
# This is only accessible on PR
DEFAULT_BRANCH: ${{ github.base_ref }}
DEFAULT_BRANCH: ${{ github.base_ref || github.ref_name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Run only pylint
VALIDATE_PYTHON: true
Expand Down

0 comments on commit 36f1030

Please sign in to comment.