-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
08ee230
commit 4683267
Showing
8 changed files
with
141 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
github: | ||
- changed-files: | ||
- any-glob-to-any-file: .github/* | ||
docker: | ||
- changed-files: | ||
- any-glob-to-any-file: Dockerfile | ||
license: | ||
- changed-files: | ||
- any-glob-to-any-file: LICENSE | ||
docs: | ||
- changed-files: | ||
- any-glob-to-any-file: ['docs/*', '**/*.md'] | ||
python: | ||
- changed-files: | ||
- any-glob-to-any-file: ['requirements.txt', '**/*.md'] | ||
deploy: | ||
- changed-files: | ||
- any-glob-to-any-file: ['deploy/*'] | ||
terraform: | ||
- changed-files: | ||
- any-glob-to-any-file: ['deploy/terraform/*'] | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: autoupdate | ||
on: | ||
push: {} | ||
jobs: | ||
autoupdate: | ||
name: autoupdate | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: docker://chinthakagodawita/autoupdate-action:latest | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
DRY_RUN: "false" | ||
PR_FILTER: "labelled" | ||
PR_LABELS: "autoupdate" | ||
EXCLUDED_LABELS: "wontfix" | ||
MERGE_MSG: "Branch was auto-updated." | ||
RETRY_COUNT: "5" | ||
RETRY_SLEEP: "300" | ||
MERGE_CONFLICT_ACTION: "fail" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: gitleaks | ||
on: | ||
pull_request: | ||
push: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 4 * * *" # run once a day at 4 AM | ||
jobs: | ||
scan: | ||
name: gitleaks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 # v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: gitleaks/gitleaks-action@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: "Pull Request Labeler" | ||
Check failure on line 1 in .github/workflows/labeler.yml GitHub Actions / Trunk Checkcheckov(CKV2_GHA_1)
Check failure on line 1 in .github/workflows/labeler.yml GitHub Actions / Trunk Checkyamllint(quoted-strings)
|
||
on: | ||
- pull_request_target | ||
|
||
jobs: | ||
triage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v5 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
sync-labels: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Mind your language | ||
on: | ||
issues: | ||
types: | ||
- opened | ||
- edited | ||
issue_comment: | ||
types: | ||
- created | ||
- edited | ||
pull_request_review_comment: | ||
types: | ||
- created | ||
- edited | ||
jobs: | ||
echo_issue_comment: | ||
runs-on: ubuntu-latest | ||
name: profanity check | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 # v4 | ||
- name: Profanity check step | ||
uses: tailaiw/mind-your-language-action@v1.0.3 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: size-label | ||
on: pull_request | ||
jobs: | ||
size-label: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: size-label | ||
uses: "pascalgn/size-label-action@v0.5.0" | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: 'Close stale issues and PRs' | ||
Check failure on line 1 in .github/workflows/stale.yml GitHub Actions / Trunk Checkcheckov(CKV2_GHA_1)
Check failure on line 1 in .github/workflows/stale.yml GitHub Actions / Trunk Checkyamllint(quoted-strings)
|
||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.' | ||
days-before-stale: 30 | ||
days-before-close: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Trunk Check | ||
on: [pull_request] | ||
concurrency: | ||
group: ${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
trunk_check: | ||
name: Trunk Check Runner | ||
runs-on: ubuntu-latest | ||
permissions: | ||
checks: write # For trunk to post annotations | ||
contents: read # For repo checkout | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Trunk Check | ||
uses: trunk-io/trunk-action@v1 |