Skip to content

Commit

Permalink
Lint GitHub Action workflows (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanTAllen authored Aug 10, 2023
1 parent 1e56277 commit 40dfc7a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/announce-a-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ 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
3 changes: 2 additions & 1 deletion .github/workflows/prepare-for-a-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ 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.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 40dfc7a

Please sign in to comment.