File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
Expand file tree Collapse file tree 2 files changed +6
-10
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 1717 steps :
1818 - name : Check out
1919 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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
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