File tree Expand file tree Collapse file tree 6 files changed +11
-15
lines changed
Expand file tree Collapse file tree 6 files changed +11
-15
lines changed Original file line number Diff line number Diff line change 1515 - name : Enable auto-merge for Dependabot PRs
1616 shell : bash
1717 run : |
18+ set -euo pipefail
19+ IFS=$'\n\t'
1820 # Checking the PR title is a poor substitute for the actual PR changes
1921 # but as long as this is used only with dependabot PRs,
2022 # it should be safe to assume that the title is not misleading.
Original file line number Diff line number Diff line change 4848 # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
4949 steps :
5050 - name : Checkout repository
51- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
51+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5252
5353 # Add any setup steps before running the `github/codeql-action/init` action.
5454 # This includes steps like installing compilers or runtimes (`actions/setup-node`
Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : " Checkout Repository"
13- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1414 - name : " Dependency Review"
1515 uses : actions/dependency-review-action@0659a74c94536054bfa5aeb92241f70d680cc78e # v4
Original file line number Diff line number Diff line change 2626 security-events : write
2727 steps :
2828 - name : Checkout code
29- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
29+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3030
3131 - name : Run DevSkim scanner
3232 uses : microsoft/DevSkim-Action@4b5047945a44163b94642a1cecc0d93a3f428cc6 # v1.0.16
Original file line number Diff line number Diff line change 2424 security-events : write
2525 steps :
2626 - name : Checkout code
27- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2828
2929 - name : Run Microsoft Security DevOps scanner
3030 uses : microsoft/security-devops-action@08976cb623803b1b36d7112d4ff9f59eae704de0 # v1.12.0
Original file line number Diff line number Diff line change @@ -16,16 +16,10 @@ jobs:
1616 runs-on : ubuntu-latest
1717 steps :
1818 - name : Check out
19- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20- - name : Install YAMLLint
21- shell : bash
22- run : |
23- pip install yamllint==1.37.1
24- msg="$(pip list --outdated | grep -e yamllint || true)"
25- if [ -n "${msg}" ]; then
26- >&2 echo "ERROR: outdated: ${msg}"
27- exit 1
28- fi
19+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2920 - name : Run YAMLLint
3021 shell : bash
31- run : " yamllint -d '{extends: default, rules: {line-length: disable}}' ."
22+ run : |
23+ set -euo pipefail
24+ IFS=$'\n\t'
25+ yamllint -d '{extends: default, rules: {line-length: disable}}' .
You can’t perform that action at this time.
0 commit comments