Skip to content

Add Read only permissions to actions #299

Add Read only permissions to actions

Add Read only permissions to actions #299

Workflow file for this run

permissions:

Check failure on line 1 in .github/workflows/black.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/black.yml

Invalid workflow file

(Line: 1, Col: 13): Unexpected value '', (Line: 2, Col: 1): Unexpected value 'contents', (Line: 12, Col: 9): Unexpected value 'uses:actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd'
  contents: read
name: formatting
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses:actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
- uses: psf/black@c6755bb741b6481d6b3d3bb563c83fa060db96c9 #v26.3.1