Skip to content

Commit 55ef8e1

Browse files
committed
Update workflows
1 parent a41eeae commit 55ef8e1

8 files changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
steps:
3333
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
3434
uses: actions/checkout@v6
35+
with:
36+
persist-credentials: false
3537
- name: Ruby version
3638
run: ruby -v
3739
- name: Compiler version
@@ -45,6 +47,8 @@ jobs:
4547
steps:
4648
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
4749
uses: actions/checkout@v6
50+
with:
51+
persist-credentials: false
4852
- name: Ruby version
4953
run: ruby -v
5054
- name: Cache cosmocc
@@ -71,6 +75,8 @@ jobs:
7175
steps:
7276
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
7377
uses: actions/checkout@v6
78+
with:
79+
persist-credentials: false
7480
- name: Ruby version
7581
run: ruby -v
7682
- name: Build and test

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
steps:
2020
- name: Checkout repository
2121
uses: actions/checkout@v6
22+
with:
23+
persist-credentials: false
2224
- name: Initialize CodeQL
2325
uses: github/codeql-action/init@v4
2426
with:

.github/workflows/coverage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Coverage
22

33
on: [push]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
coverage:
710
name: Coverage
@@ -17,6 +20,8 @@ jobs:
1720
steps:
1821
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
1922
uses: actions/checkout@v6
23+
with:
24+
persist-credentials: false
2025
- name: Ruby version
2126
run: ruby -v
2227
- name: Compiler version

.github/workflows/ls-lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v6
15+
with:
16+
persist-credentials: false
1517
- uses: ls-lint/action@v2.3.1
1618
with:
1719
config: .github/linters/.ls-lint.yml

.github/workflows/pre-commit-manual.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
steps:
1414
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
1515
uses: actions/checkout@v6
16+
with:
17+
persist-credentials: false
1618
- uses: j178/prek-action@v1
1719
with:
1820
install-only: true

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
steps:
1414
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
1515
uses: actions/checkout@v6
16+
with:
17+
persist-credentials: false
1618
- uses: j178/prek-action@v1
1719
with:
1820
extra-args: --all-files

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
steps:
2121
- name: "Checkout ${{ github.ref_name }} ( ${{ github.sha }} )"
2222
uses: actions/checkout@v6
23+
with:
24+
persist-credentials: false
2325
- name: Builds
2426
id: builds
2527
run: |

.github/workflows/super-linter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
with:
2020
# Full git history is needed to get a proper list of changed files within `super-linter`
2121
fetch-depth: 0
22+
persist-credentials: false
2223
- name: Lint Code Base
2324
uses: super-linter/super-linter/slim@v8.5.0
2425
env:

0 commit comments

Comments
 (0)