Skip to content

Commit

Permalink
update order of condition check for github action
Browse files Browse the repository at this point in the history
  • Loading branch information
corybekk committed Jan 10, 2025
1 parent 2db46d1 commit 9e52a21
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions .github/workflows/semantic-lint.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
name: semantic-lint
# name: semantic-lint

on:
pull_request_target:
types:
- opened
- edited
- synchronize
# on:
# pull_request_target:
# types:
# - opened
# - edited
# - synchronize

permissions:
contents: read
pull-requests: read
# permissions:
# contents: read
# pull-requests: read

jobs:
semantic-lint:
if: github.repository == 'ekristen/aws-nuke'
runs-on: ubuntu-latest
steps:
- name: Print debug information
run: echo "Repository: ${{ github.repository }}"
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# jobs:
# semantic-lint:
# if: github.repository == 'ekristen/aws-nuke'
# runs-on: ubuntu-latest
# steps:
# - uses: amannn/action-semantic-pull-request@v5
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9e52a21

Please sign in to comment.