mirror of
https://github.com/actions/container-action.git
synced 2025-06-14 17:27:42 +00:00
Remove extra permissions
This commit is contained in:
parent
1f841d937e
commit
53f6fe95ed
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -2,12 +2,13 @@ name: Continuous Integration
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test-docker:
|
||||
name: Docker Tests
|
||||
|
19
.github/workflows/linter.yml
vendored
19
.github/workflows/linter.yml
vendored
@ -1,31 +1,28 @@
|
||||
name: Lint Code Base
|
||||
name: Lint Codebase
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint Code Base
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: read
|
||||
statuses: write
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint Codebase
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user