Skip to content

Remove unnecessary permission config in CI workflow #11

Remove unnecessary permission config in CI workflow

Remove unnecessary permission config in CI workflow #11

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
branches:
- main
paths-ignore:
- '**.md'
permissions:
id-token: read

Check failure on line 14 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 14, Col: 13): Unexpected value 'read'
contents: read
jobs:
dockerfile-linter:
runs-on: ubuntu-latest
env:
HADOLINT_RECURSIVE: "true"
steps:
- uses: actions/checkout@v3
- uses: hadolint/[email protected]
with:
dockerfile: Dockerfile.neuron
recursive: true
failure-threshold: error # TODO: enable more linter rules other than error.
- uses: hadolint/[email protected]
with:
dockerfile: Dockerfile.neuronx
recursive: true
failure-threshold: error