Skip to content

Commit 380864a

Browse files
authored
Merge pull request #941 from github/djdefi-checkoutv3
2 parents 079e1cc + 3804422 commit 380864a

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.github/workflows/lint.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
name: Lint Code Base
22

33
on:
4+
push:
5+
branches-ignore: [master]
46
pull_request:
5-
branches-ignore:
6-
- 'master'
7+
branches: [master]
78

89
jobs:
9-
build:
10+
lint:
1011
name: Lint Code Base
1112
runs-on: ubuntu-latest
1213
steps:
1314
- name: Checkout Code
14-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
16+
with:
17+
# Full git history is needed to get a proper list of changed files within `super-linter`
18+
fetch-depth: 0
1519
- name: Lint Code Base
16-
uses: docker://github/super-linter:v2.1.1
20+
uses: github/super-linter@v4
1721
env:
1822
VALIDATE_ALL_CODEBASE: false
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
brew install moreutils gawk
2525
if: matrix.os == 'macos-latest'
2626
- name: Get Sources
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v3
2828
- name: Test
2929
run: |
3030
export PATH="$PATH:/snap/bin"

0 commit comments

Comments
 (0)