Skip to content

Commit ed754de

Browse files
committed
Tighten permissions for GitHub Actions
1 parent 977575d commit ed754de

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on: pull_request
33
concurrency:
44
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
55
cancel-in-progress: true
6+
permissions: {}
67
jobs:
78
matrix:
89
name: Build test matrix

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
tags:
66
- "*"
77

8+
permissions: {}
9+
810
jobs:
911
build:
1012
name: Build packages
@@ -61,7 +63,6 @@ jobs:
6163
url: ${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ github.ref_name }}
6264
permissions:
6365
contents: write
64-
id-token: write
6566

6667
steps:
6768
- name: Download packages

0 commit comments

Comments
 (0)