mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-29 03:43:04 +01:00
ci: add jactionlint and address workflow findings
This commit is contained in:
1 parent
7140fedbfa
commit
9eccfb3691
11 files changed
+5816
-13
No files matched your search
@@ -0,0 +1,33 @@
|
||||
name: Workflow lint
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
jactionlint:
|
||||
name: Lint GitHub Actions
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- name: Harden the runner (Audit all outbound calls)
|
||||
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
|
||||
with:
|
||||
egress-policy: audit
|
||||
- name: Checkout
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Lint workflows and Dependabot configuration
|
||||
uses: jdx/jactionlint@72c00452809bcca05b8bc12acdcf15dd7a9c1c5e # v2.6.0
|
||||
with:
|
||||
profile: default
|
||||
online: "false"
|
||||
Reference in new issue
Block a user