Skip to content

Commit

Permalink
Remove extra permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
ncalteen committed Nov 28, 2023
1 parent 1f841d9 commit 53f6fe9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ name: Continuous Integration

on:
pull_request:
branches:
- main
push:
branches:
- main

permissions:
contents: read

jobs:
test-docker:
name: Docker Tests
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,28 @@
name: Lint Code Base
name: Lint Codebase

on:
pull_request:
branches:
- main
push:
branches:
- main

permissions:
contents: read

jobs:
lint:
name: Lint Code Base
name: Lint Codebase
runs-on: ubuntu-latest

permissions:
contents: read
packages: read
statuses: write

steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4

- name: Lint Code Base
- name: Lint Codebase
id: super-linter
uses: super-linter/super-linter/slim@v5
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: true

0 comments on commit 53f6fe9

Please sign in to comment.