Skip to content

Commit 4c22778

Browse files
authored
Harden GitHub Actions permissions and pin Ubuntu runners (#218)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent c53f049 commit 4c22778

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/luacheck.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ on:
1616
branches:
1717
- master
1818

19+
permissions: read-all
20+
1921
jobs:
2022

2123
luacheck:
22-
runs-on: ubuntu-22.04
23-
permissions:
24-
contents: read
24+
runs-on: ubuntu-24.04
2525
steps:
2626
- name: Checkout
2727
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1

.github/workflows/unix_build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ on:
1515
branches:
1616
- master
1717

18+
permissions: read-all
19+
1820
jobs:
1921
test:
20-
permissions:
21-
contents: read
22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-24.04
2323

2424
strategy:
2525
fail-fast: false

0 commit comments

Comments
 (0)