Skip to content

Commit 7607dfc

Browse files
committed
really tighten permissions
1 parent 56bba13 commit 7607dfc

6 files changed

Lines changed: 10 additions & 4 deletions

.github/workflows/dependabot-auto-approve-and-merge.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ on:
88
AUTOMERGE_PEM:
99
required: true
1010

11-
permissions:
12-
pull-requests: write
13-
contents: write
14-
11+
permissions: {}
1512
jobs:
1613
dependabot:
1714
runs-on: ubuntu-22.04
15+
permissions:
16+
pull-requests: write
17+
contents: write
1818
if: (github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'eps-create-pull-request[bot]') && github.repository == github.event.pull_request.head.repo.full_name
1919
steps:
2020
- name: Get token from Github App

.github/workflows/get-repo-config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ on:
3939
description: Resolved digest for the supplied image reference
4040
value: ${{ jobs.verify_attestation.outputs.resolved_digest }}
4141

42+
permissions: {}
4243
jobs:
4344
get_config_values:
4445
runs-on: ubuntu-22.04

.github/workflows/pr_title_check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: PR Title Check
33
on:
44
workflow_call:
55

6+
permissions: {}
67
jobs:
78
pr_title_format_check:
89
runs-on: ubuntu-22.04

.github/workflows/sync_copilot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
schedule:
66
- cron: "0 6 * * 1"
77

8+
permissions: {}
89
jobs:
910
sync-copilot-instructions:
1011
runs-on: ubuntu-22.04

.github/workflows/tag-release-devcontainer.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ on:
7979
PYPI_TOKEN:
8080
required: false
8181
description: "PyPI token to publish packages"
82+
83+
permissions: {}
8284
jobs:
8385
tag_release:
8486
permissions:

.github/workflows/update-dev-container-version.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
workflow_dispatch:
55
schedule:
66
- cron: "0 6 * * 4"
7+
78
permissions: {}
89

910
jobs:

0 commit comments

Comments
 (0)