Skip to content

Commit 58e9640

Browse files
authored
Allow manual runs of the security check (#233)
* Allow manual runs of the security check So we can check before releasing that the release branch is up-to-date. * Work around markdown-lint-check issue Pins the version to the last known version that works with a config file, like we use.
1 parent da379fc commit 58e9640

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/security.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: security
33

44
# We don't scan documentation-only commits.
55
on: # yamllint disable-line rule:truthy
6+
workflow_dispatch: # trigger ad-hoc runs of this action
67
push: # non-tagged pushes to master
78
branches:
89
- master

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This repo uses semantic versions. Please keep this in mind when choosing version
66

77
Before you start a release, make sure all dependencies are up-to-date, or are documented why not.
88
Pay special attention to the [security workflow](.github/workflows/security.yml), which should
9-
run clean.
9+
run clean. You can manually run the Action to check the release branch is up-to-date.
1010

1111
1. **Alert others you are releasing**
1212

build-bin/configure_lint

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/sh -ue
22

33
# Attempt to install markdown-link-check if absent
4-
markdown-link-check -V || npm install -g markdown-link-check
4+
# Pinned until https://github.com/tcort/markdown-link-check/issues/369
5+
markdown-link-check -V || npm install -g markdown-link-check@3.12.2
56

67
# Attempt to install yamllint if absent
78
yamllint || pip install --user yamllint

0 commit comments

Comments
 (0)