Skip to content

Commit 64aff45

Browse files
authored
[BRE-848] Adding permissions to test lint workflow (#404)
1 parent 225c9da commit 64aff45

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/test-get-secrets.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ jobs:
4848
uses: bitwarden/gh-actions/get-keyvault-secrets@main # TODO: Use ./get-keyvault-secrets for testing of local action changes
4949
with:
5050
keyvault: gh-gh-actions
51-
secrets: "test-secret-1,test-secret-2"
51+
secrets: "
52+
test-secret-1,
53+
test-secret-2"
5254

5355
- name: Azure Logout
5456
id: azure-logout

.github/workflows/test-lint-workflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
paths:
66
- "lint-workflow"
7+
- .github/workflows/test-lint-workflow.yml
78
push:
89
branches:
910
- "main"
@@ -13,6 +14,8 @@ jobs:
1314
test-lint-workflow:
1415
name: Test Lint Workflow
1516
runs-on: ubuntu-24.04
17+
permissions:
18+
contents: read
1619
steps:
1720
- name: Checkout Branch
1821
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)