Skip to content

Commit

Permalink
updated release.yml + python-test.yml to include more scoped permissi…
Browse files Browse the repository at this point in the history
…ons as per issue dash-ag-grid#337
  • Loading branch information
t1nfoil committed Nov 27, 2024
1 parent 3544084 commit 6066c0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Run tests

permissions:
contents: read

on:
push:
branches: [main]
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Generate release

permissions:
contents: read

on:
push:
tags:
Expand All @@ -10,7 +13,7 @@ jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Reuse Build and Validate Workflow
Expand All @@ -21,4 +24,4 @@ jobs:
- uses: ncipollo/release-action@v1
with:
artifacts: "dist/*.whl,dist/*.tar.gz"
draft: true
draft: true

0 comments on commit 6066c0c

Please sign in to comment.