Skip to content

Commit fe64001

Browse files
committed
update order of condition check for github action
1 parent 8cd7bf3 commit fe64001

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/commit-lint.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ permissions:
1313

1414
jobs:
1515
commit-lint:
16-
if: ${{ github.repository == 'ekristen/aws-nuke' }}
1716
name: commit-lint
1817
runs-on: ubuntu-latest
1918
steps:
2019
- uses: actions/checkout@v4
21-
- uses: wagoid/commitlint-github-action@v6
20+
if: ${{ github.repository == 'ekristen/aws-nuke' }}
21+
- uses: wagoid/commitlint-github-action@v6
22+
if: ${{ github.repository == 'ekristen/aws-nuke' }}

.github/workflows/semantic-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ permissions:
1313

1414
jobs:
1515
semantic-lint:
16-
if: ${{ github.repository == 'ekristen/aws-nuke' }}
1716
runs-on: ubuntu-latest
1817
steps:
1918
- uses: amannn/action-semantic-pull-request@v5
19+
if: ${{ github.repository == 'ekristen/aws-nuke' }}
2020
env:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)