Skip to content

Commit

Permalink
Add permissions on pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Tr00d committed Aug 10, 2023
1 parent ad51973 commit 8af801f
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/multiframework-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ on:
workflow_dispatch:
push:
branches: [ main ]

permissions:
actions: write
checks: write
contents: read
deployments: read
id-token: read
issues: write
discussions: write
packages: read
pages: write
pull-requests: write
repository-projects: none
security-events: write
statuses: write

jobs:
build:
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/mutation-testing.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
name: Mutation testing
on: workflow_dispatch

permissions:
actions: write
checks: write
contents: read
deployments: read
id-token: read
issues: write
discussions: write
packages: read
pages: write
pull-requests: write
repository-projects: none
security-events: write
statuses: write

jobs:
mutation:
name: Run mutation analysis
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/net-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ on:
pull_request:
branches: [ main ]


permissions:
actions: write
checks: write
contents: read
deployments: read
id-token: read
issues: write
discussions: write
packages: read
pages: write
pull-requests: write
repository-projects: none
security-events: write
statuses: write

jobs:
build:
runs-on: windows-latest
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@ name: Nuget Release
on:
release:
types: [ published ]

permissions:
actions: write
checks: write
contents: read
deployments: read
id-token: read
issues: write
discussions: write
packages: read
pages: write
pull-requests: write
repository-projects: none
security-events: write
statuses: write

jobs:
coreSDK:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8af801f

Please sign in to comment.