Detect whether full-disk access is enabled in the split tunneling view #705
Workflow file for this run
This file contains 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: Check changelog format | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/check-changelog.yml | |
- 'CHANGELOG.md' | |
- 'ios/CHANGELOG.md' | |
- 'android/CHANGELOG.md' | |
permissions: {} | |
env: | |
LINE_LIMIT: 100 | |
jobs: | |
check-changelog: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
changelog: [CHANGELOG.md, ios/CHANGELOG.md, android/CHANGELOG.md] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: No lines must exceed ${{ env.LINE_LIMIT }} characters | |
run: | | |
awk 'length($0) > '$LINE_LIMIT' { print NR ": Line exceeds '$LINE_LIMIT' chars: " $0; found=1 } \ | |
END { if(found) exit 1 }' ${{ matrix.changelog }} |