Skip to content

Commit e857f2f

Browse files
authored
Set permissions and forget credentials after clone in regular workflow
1 parent dc1afb2 commit e857f2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/make-based-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ concurrency:
1010
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1111
cancel-in-progress: true
1212

13+
permissions: {}
14+
1315
jobs:
1416
poetry-checks:
1517
runs-on: ubuntu-latest
@@ -36,6 +38,8 @@ jobs:
3638
steps:
3739
- name: Checkout code
3840
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
41+
with:
42+
persist-credentials: false
3943

4044
- name: Set up Homebrew
4145
id: set-up-homebrew

0 commit comments

Comments
 (0)