Skip to content

Commit 49d29d1

Browse files
committed
ci: Add dependabot.yml. Update lint.yml
1 parent 0ccd5e2 commit 49d29d1

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"

.github/workflows/lint.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@ env:
44
BASEDIR: https://raw.githubusercontent.com/open-contracting/standard-maintenance-scripts/main
55
jobs:
66
build:
7+
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
78
runs-on: ubuntu-latest
89
steps:
9-
- uses: actions/checkout@v2
10-
- uses: actions/setup-python@v1
11-
with:
12-
python-version: 3.6
13-
- uses: actions/cache@v1
14-
with:
15-
path: ~/.cache/pip
16-
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/lint.yml') }}
17-
restore-keys: |
18-
${{ runner.os }}-pip-
19-
- run: curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash -
20-
- run: curl -s -S --retry 3 $BASEDIR/tests/script.sh | bash -
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-python@v4
12+
with:
13+
python-version: 3.8
14+
- uses: actions/cache@v3
15+
with:
16+
path: ~/.cache/pip
17+
key: ${{ runner.os }}-pip
18+
- run: curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash -
19+
- run: curl -s -S --retry 3 $BASEDIR/tests/script.sh | bash -

0 commit comments

Comments
 (0)