Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
ci: misc cleanup (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
harrysolovay authored Oct 4, 2022
1 parent d783ba6 commit c03cd12
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
name: Secrets check
name: Check Secrets
on:
push:
branches:
- master
- master
pull_request:
types:
- created
- opened
- edited
jobs:
TruffleHog:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@main
- uses: trufflesecurity/trufflehog@main
with:
path: ./
base: ${{ github.event.repository.default_branch }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
configure:
name: Configure
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Profanity check
name: Mind Your Language
on:
issues:
types:
Expand All @@ -10,7 +10,7 @@ on:
- edited
pull_request:
types:
- created
- opened
- edited
pull_request_review_comment:
types:
Expand All @@ -26,4 +26,4 @@ jobs:
- name: Profanity check step
uses: tailaiw/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16 changes: 16 additions & 0 deletions .github/workflows/validate_pr_title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Validate PR Title
on:
pull_request_target:
types:
- opened
- edited
- synchronize

jobs:
main:
name: Validate PR Title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,4 @@ autoremove
trufflesecurity
tailaiw
trufflehog
amannn

0 comments on commit c03cd12

Please sign in to comment.