Skip to content

Commit 74a5811

Browse files
Update lint.yml to reference in-house GH action
Signed-off-by: Courtney Pacheco <6019922+courtneypacheco@users.noreply.github.com>
1 parent 66c7265 commit 74a5811

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/lint.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,16 +116,19 @@ jobs:
116116
security-lint:
117117
runs-on: ubuntu-latest
118118
steps:
119-
- name: "Checkout"
119+
- name: Checkout "security-lint" in-house CI action
120120
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
121121
with:
122-
# https://github.com/actions/checkout/issues/249
123-
fetch-depth: 0
122+
repository: instructlab/ci-actions
123+
path: ci-actions # clone the "ci-actions" repo to a local directory called "ci-actions", instead of overwriting the current dir contents
124+
ref: add-security-lint # temporary branch with my changes
125+
sparse-checkout: |
126+
actions/add-security-lint
124127
125128
# In-house method to detect and identfy exposed secrets in Git workflow files that
126129
# auto-trigger in pull requests
127130
- name: Detect exposed GitHub secrets
128-
uses: ./.github/actions/detect-exposed-secrets
131+
uses: ./ci-actions/actions/detect-exposed-workflow-secrets
129132

130133
lint-workflow-complete:
131134
permissions:

0 commit comments

Comments
 (0)