Skip to content

Commit 9db401b

Browse files
authored
Revert commits that restored default permissions (#107)
Revert "Leave default permissions in build.yml (#105)". Revert "Persist credentials to fix the deployment process (#104)".
1 parent 2d4ee5e commit 9db401b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,21 @@ on:
1111
- cron: '00 12 * * 1'
1212
workflow_dispatch:
1313

14+
permissions: {}
15+
1416
jobs:
1517
build:
1618
runs-on: ubuntu-latest
19+
permissions:
20+
contents: write
1721
steps:
1822
# Checks-out your repository under $GITHUB_WORKSPACE
1923
- name: Checkout
2024
uses: actions/checkout@v4
25+
with:
26+
# The GitHub token is preserved by default but this job doesn't need
27+
# to be able to push to GitHub.
28+
persist-credentials: false
2129

2230
- name: Setup Python
2331
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)