Skip to content

Commit

Permalink
Lint GitHub Action workflows (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanTAllen authored Aug 10, 2023
1 parent ccd729e commit c868b5c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/announce-a-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Announce a release

on:
push:
tags: announce-\d+.\d+.\d+
tags: 'announce-[0-9]+.[0-9]+.[0-9]+'

concurrency: announce-a-release

Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ concurrency:
cancel-in-progress: true

jobs:
actionlint:
name: Lint GitHub Action Workflows
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check workflow files
uses: docker://ponylang/shared-docker-ci-actionlint:20230810
with:
args: -color

superlinter:
name: Lint bash, docker, markdown, and yaml
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-for-a-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Prepare for a release

on:
push:
tags: release-\d+.\d+.\d+
tags: 'release-[0-9]+.[0-9]+.[0-9]+'

concurrency: prepare-for-a-release

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- '**'
paths-ignore:
- .release-notes/next-release.md
- .release-notes/\d+.\d+.\d+.md
- .release-notes/[0-9]+.[0-9]+.[0-9]+.md

jobs:
release-notes:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- \d+.\d+.\d+
- '[0-9]+.[0-9]+.[0-9]+'

concurrency: release

Expand Down

0 comments on commit c868b5c

Please sign in to comment.