GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — GitPython/.github/workflows/lint.yml at main · gitpython-developers/GitPython 52 lines (43 loc) · 1.49 KB / Copy pathlint.ymlFile metadata and controls52 lines (43 loc) · 1.49 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 name: Lint on: push: branches: [main] pull_request: workflow_dispatch: permissions: contents: read jobs: lint: runs-on: ubuntu-slim steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: "3.x" - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 # Check that all `actions/checkout` in CI jobs have `persist-credentials: false`. check-no-persist-credentials: runs-on: ubuntu-slim env: GLOB: .github/workflows/*.@(yaml|yml) steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false sparse-checkout: ".github/workflows" - name: List workflows to be scanned run: | shopt -s extglob printf '%s\n' $GLOB # Pathname expansion in $GLOB intended. - name: Scan workflows run: | shopt -s extglob yq '.jobs.*.steps[] | select(.uses == "actions/checkout@*" and .with.["persist-credentials"]? != false) | {"file": filename, "line": line, "name": (.name // .uses)} | .file + ":" + (.line | tostring) + ": " + .name ' -- $GLOB >query-output.txt # Pathname expansion in $GLOB intended. cat query-output.txt test -z "$(<query-output.txt)" # Report failure if we found anything. |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |