Disable lint-commit job that trips up SignPath runner id when skipped (#23574)

Skipping the job makes SignPath's runner verification think it was run
on an external system and with runner verification a strict requirement,
it prevents us from doing a release
This commit is contained in:
Michał Janiszewski authored and GitHub committed 2025-01-08 18:31:32 +00:00
1 parent 955a0a2687
commit f1e51fd873
1 file changed
+15 -15
+15 -15
View File
@@ -111,21 +111,21 @@ jobs:
echo "certificate=$certificate"
echo "sign=$sign" >> $GITHUB_OUTPUT
echo "certificate=$certificate" >> $GITHUB_OUTPUT
lint-commit:
name: Lint Commit Message
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint Commit Messages
uses: wagoid/commitlint-github-action@v5
with:
configFile: .commitlint.json
# lint-commit:
# name: Lint Commit Message
# if: github.event_name == 'pull_request'
# runs-on: ubuntu-latest
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - name: Lint Commit Messages
# uses: wagoid/commitlint-github-action@v5
# with:
# configFile: .commitlint.json
check-code-formatting:
name: Check code formatting
runs-on: ubuntu-latest