Skip to content

Commit 69b4bac

Browse files
author
Diptorup Deb
committed
Adds top-level permissions and removed unused workflows.
1 parent c2860ca commit 69b4bac

File tree

11 files changed

+19
-101
lines changed

11 files changed

+19
-101
lines changed

.github/workflows/black.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
push:
1010
branches: [main]
1111

12+
permissions: read-all
13+
1214
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1315
jobs:
1416
# This workflow contains a single job called "black"

.github/workflows/conda-package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
- main
1111
- release*
1212

13+
permissions: read-all
14+
1315
env:
1416
PACKAGE_NAME: numba-dpex
1517
MODULE_NAME: numba_dpex

.github/workflows/coverage.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
- environment/coverage.yml
1010
- pyproject.toml
1111

12+
permissions: read-all
13+
1214
jobs:
1315
main:
1416
name: Generate coverage and push to Coveralls.io

.github/workflows/coverity.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
- main
66
workflow_dispatch:
77

8+
permissions: read-all
9+
810
jobs:
911
Coverity:
1012

.github/workflows/cpp_style_checks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
push:
1010
branches: [master]
1111

12+
permissions: read-all
13+
1214
jobs:
1315
formatting-check:
1416
name: clang-format

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ on:
2626
buildkit_version:
2727
default: '0.11.6'
2828

29+
permissions: read-all
2930

3031
jobs:
3132
env:

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
- environment/docs.yml
1414
- .github/workflows/gh-pages.yml
1515

16+
permissions: read-all
17+
1618
jobs:
1719
main:
1820
if: ${{ !(github.event.pull_request && github.event.action == 'closed') }}

.github/workflows/license.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ on:
55
push:
66
branches: [main]
77

8+
permissions: read-all
9+
810
jobs:
911
license:
1012
runs-on: ubuntu-latest
1113

1214
steps:
13-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4.1.1
1416
- uses: actions/setup-go@v3
1517
with:
1618
go-version: '1.18'

.github/workflows/merge-main-to-gold_2021.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/numba.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)