Update README.md #14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI Example | |
| on: [push] | |
| # Ограничение прав GITHUB_TOKEN на уровне всего workflow | |
| permissions: | |
| contents: read # Разрешаем только чтение кода (необходимо для checkout) | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: ⤵️ Check out repository code | |
| uses: actions/checkout@v4 | |
| - name: 🚀 Run a script | |
| run: echo "Hello, GitHub Actions 2026! Permissions are secured." |