Skip to content

Commit

Permalink
Merge pull request #461 from alphagov/add-actionlint-to-all-repos
Browse files Browse the repository at this point in the history
Add Actionlint Checks
  • Loading branch information
dj-maisy authored Mar 5, 2025
2 parents 7cd8dce + 8a1d4c2 commit 927e7db
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Lint GitHub Actions
on:
push:
paths: ['.github/**']
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- uses: alphagov/govuk-infrastructure/.github/actions/actionlint@main
2 changes: 1 addition & 1 deletion .github/workflows/run-against-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ jobs:
# preserve exit code if rubocop fails
set -o pipefail
# use tee to output to stdout and populate GitHub summary
bundle exec rubocop --format markdown | tee $GITHUB_STEP_SUMMARY
bundle exec rubocop --format markdown | tee "$GITHUB_STEP_SUMMARY"
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 5.0.9

* Bump version to add Action Linting and Pass Ratchet check

# 5.0.8

* Update dependencies
Expand Down
2 changes: 1 addition & 1 deletion rubocop-govuk.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = "rubocop-govuk"
spec.version = "5.0.8"
spec.version = "5.0.9"
spec.authors = ["Government Digital Service"]
spec.email = ["govuk-dev@digital.cabinet-office.gov.uk"]

Expand Down

0 comments on commit 927e7db

Please sign in to comment.