Skip to content

Commit 927e7db

Browse files
authored
Merge pull request #461 from alphagov/add-actionlint-to-all-repos
Add Actionlint Checks
2 parents 7cd8dce + 8a1d4c2 commit 927e7db

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

.github/workflows/actionlint.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Lint GitHub Actions
2+
on:
3+
push:
4+
paths: ['.github/**']
5+
jobs:
6+
actionlint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
with:
11+
show-progress: false
12+
- uses: alphagov/govuk-infrastructure/.github/actions/actionlint@main

.github/workflows/run-against-project.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ jobs:
4848
# preserve exit code if rubocop fails
4949
set -o pipefail
5050
# use tee to output to stdout and populate GitHub summary
51-
bundle exec rubocop --format markdown | tee $GITHUB_STEP_SUMMARY
51+
bundle exec rubocop --format markdown | tee "$GITHUB_STEP_SUMMARY"

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 5.0.9
2+
3+
* Bump version to add Action Linting and Pass Ratchet check
4+
15
# 5.0.8
26

37
* Update dependencies

rubocop-govuk.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |spec|
22
spec.name = "rubocop-govuk"
3-
spec.version = "5.0.8"
3+
spec.version = "5.0.9"
44
spec.authors = ["Government Digital Service"]
55
spec.email = ["govuk-dev@digital.cabinet-office.gov.uk"]
66

0 commit comments

Comments
 (0)