Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/devskim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
group: devskim-${{ github.ref }}
cancel-in-progress: false

permissions:
contents: read

jobs:
lint:
name: DevSkim
Expand Down Expand Up @@ -44,7 +47,7 @@
ignore-globs: "**/.git/**,**/bin/**,**/*.fit,**/*.png,**/*.jpg,**/*.jpeg,**/*.ico,**/*.icns,**/*.svg,**/*.pdf"

- name: Debug - List files in workspace
run: |

Check failure on line 50 in .github/workflows/devskim.yml

View workflow job for this annotation

GitHub Actions / job-1

shellcheck reported issue in this script: SC2044:warning:4:10: For loops over find output are fragile. Use find -exec or a while read loop
echo "Listing all files in workspace:"
find . -type f | sort
echo "Showing first 5 lines of each file (if text):"
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/git-sizer-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,17 @@ jobs:
name: git-sizer - ${{ github.event.inputs.repo }}
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
with:
egress-policy: audit

- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Use local git-sizer action
id: sizer
uses: ChrisCarini/github-git-sizer-action@latest
uses: ChrisCarini/github-git-sizer-action@09eaa4ae73038a5f0bbdc7e7b964f1bf6114c277 # latest
with:
repo: ${{ github.event.inputs.repo }}
flags: '--threshold=0'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/git-sizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
name: git-sizer - ${{ github.repository }}
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
with:
egress-policy: audit

- name: Run git-sizer
id: sizer
uses: ChrisCarini/github-git-sizer-action@09eaa4ae73038a5f0bbdc7e7b964f1bf6114c277 # latest
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@ name: Automatic Rebase
on:
issue_comment:
types: [created]
permissions:
contents: read

jobs:
rebase:
permissions:
contents: write # for cirrus-actions/rebase to push code to rebase
pull-requests: read # for cirrus-actions/rebase to get info about PR
name: Rebase
runs-on: ubuntu-latest
if: >-
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/spelling_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
concurrency:
group: spellcheck-${{ github.ref }}
cancel-in-progress: false
permissions:
contents: read

jobs:
build:
name: Spellcheck
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
issues:
types: [opened]

permissions:
contents: read

jobs:
summary:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -33,7 +36,7 @@
Body: ${{ github.event.issue.body }}

- name: Comment with AI summary
run: |

Check failure on line 39 in .github/workflows/summary.yml

View workflow job for this annotation

GitHub Actions / job-1

shellcheck reported issue in this script: SC2086:info:1:18: Double quote to prevent globbing and word splitting
gh issue comment $ISSUE_NUMBER --body '${{ steps.inference.outputs.response }}'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/trufflehog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- main
pull_request:

permissions:
contents: read

jobs:
trufflehog:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ repos:
- id: check-vcs-permalinks
# - id: pretty-format-json
- id: check-docstring-first
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: RuboCop
Loading