Skip to content

Commit 33b9d01

Browse files
authored
use ci-manifest reusable workflow (#72)
1 parent a7427c6 commit 33b9d01

File tree

2 files changed

+7
-17
lines changed

2 files changed

+7
-17
lines changed

.github/workflows/ci-manifest.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
push:
1212
branches-ignore:
13-
- "conda-lock-auto-update"
13+
- "auto-update-lockfiles"
1414
- "pre-commit-ci-update-config"
1515
- "dependabot/*"
1616

@@ -23,18 +23,4 @@ concurrency:
2323
jobs:
2424
manifest:
2525
name: "check-manifest"
26-
27-
runs-on: ubuntu-latest
28-
29-
defaults:
30-
run:
31-
shell: bash -l {0}
32-
33-
steps:
34-
- uses: actions/checkout@v3
35-
with:
36-
fetch-depth: 0
37-
38-
- name: "check-manifest"
39-
run: |
40-
pipx run check-manifest
26+
uses: scitools/workflows/.github/workflows/[email protected]

.github/workflows/refresh-lockfiles.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ on:
1212
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule
1313
- cron: "3 0 * * 6"
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
1519
jobs:
1620
refresh_lockfiles:
17-
uses: scitools/workflows/.github/workflows/[email protected].0
21+
uses: scitools/workflows/.github/workflows/[email protected].3
1822
secrets: inherit

0 commit comments

Comments
 (0)