Skip to content

Commit f591356

Browse files
committed
Review pre-commit pinned versions as prerelease step
Because refreshing `pre-commit`'s pinned versions is the only supply chain check for this repository, this patch also removes the nightly supply chain review job. References: * casework/CASE-Implementation-PROV-O#92 Signed-off-by: Alex Nelson <[email protected]>
1 parent 23f7c56 commit f591356

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

.github/workflows/supply-chain.yml renamed to .github/workflows/prerelease.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
1+
# Portions of this file contributed by NIST are governed by the following
2+
# statement:
3+
#
14
# This software was developed at the National Institute of Standards
25
# and Technology by employees of the Federal Government in the course
3-
# of their official duties. Pursuant to title 17 Section 105 of the
4-
# United States Code this software is not subject to copyright
5-
# protection and is in the public domain. NIST assumes no
6-
# responsibility whatsoever for its use by other parties, and makes
7-
# no guarantees, expressed or implied, about its quality,
8-
# reliability, or any other characteristic.
6+
# of their official duties. Pursuant to Title 17 Section 105 of the
7+
# United States Code, this software is not subject to copyright
8+
# protection within the United States. NIST assumes no responsibility
9+
# whatsoever for its use by other parties, and makes no guarantees,
10+
# expressed or implied, about its quality, reliability, or any other
11+
# characteristic.
912
#
1013
# We would appreciate acknowledgement if the software is used.
1114

1215
# This workflow uses Make to review direct dependencies of this
1316
# repository.
1417

15-
name: Supply Chain
18+
name: Prerelease
1619

1720
on:
18-
schedule:
19-
- cron: '15 5 * * 1,2,3,4,5'
21+
pull_request:
22+
branches:
23+
- main
2024

2125
jobs:
2226
build:
@@ -37,4 +41,4 @@ jobs:
3741
with:
3842
python-version: ${{ matrix.python-version }}
3943
- name: Review dependencies
40-
run: make check-supply-chain
44+
run: make check-supply-chain-pre-commit

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ check: \
6969
check-supply-chain: \
7070
check-supply-chain-pre-commit
7171

72+
# This target is scheduled to run as part of prerelease review.
7273
check-supply-chain-pre-commit: \
7374
.venv-pre-commit/var/.pre-commit-built.log
7475
source .venv-pre-commit/bin/activate \

0 commit comments

Comments
 (0)