Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
GitHub Actions LintDiff -> Live
  • Loading branch information
danieljurek committed Jun 24, 2025
commit 6b566ee7871051e68c9aeea6be2a3b92d2459d63
14 changes: 2 additions & 12 deletions .github/workflows/lintdiff-code.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "[TEST-IGNORE] Swagger LintDiff - Analyze Code"
name: "Swagger LintDiff - Analyze Code"

on: pull_request

Expand All @@ -7,7 +7,7 @@

jobs:
lintdiff:
name: "[TEST-IGNORE] Swagger LintDiff - Analyze Code"
name: "Swagger LintDiff - Analyze Code"
runs-on: ubuntu-24.04

steps:
Expand Down Expand Up @@ -49,12 +49,6 @@
writeFileSync(filePath, changedFiles.join('\n'), 'utf8');
console.log(`Changed files written to ${filePath}`);

- name: Prepend test notice to summary
if: always()
run: |
temp_file=$(mktemp)
echo -e "> [!IMPORTANT]\n> This check is testing a new version of 'Swagger LintDiff'.\n> Failures are expected, and should be completely ignored by spec authors and reviewers.\n> Meaningful results for this PR are are in required check 'Swagger LintDiff'.\n" > $GITHUB_STEP_SUMMARY

# TODO: Could be github.sha for merge commit
- name: Run LintDiff
run: |
Expand All @@ -65,10 +59,6 @@
--base-branch ${{ github.event.pull_request.base.ref }} \
--compare-sha ${{ github.event.pull_request.head.sha }} \
--out-file $GITHUB_STEP_SUMMARY

echo "⚠️ This check is testing a new version of 'Swagger LintDiff'."
echo "⚠️ Failures are expected, and should be completely ignored by spec authors and reviewers."
echo "⚠️ Meaningful results for this PR are are in required check 'Swagger LintDiff'."
env:
# Some LintDiff runs are memory intensive and require more than the
# default.
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lintdiff-status.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "[TEST-IGNORE] Swagger LintDiff - Set Status"
name: "Swagger LintDiff - Set Status"

on:
# Must run on pull_request_target instead of pull_request, since the latter cannot trigger on
Expand All @@ -15,7 +15,7 @@
- labeled
- unlabeled
workflow_run:
workflows: ["\\[TEST-IGNORE\\] Swagger LintDiff - Analyze Code"]
workflows: ["Swagger LintDiff - Analyze Code"]
types: [completed]

permissions:
Expand All @@ -30,6 +30,6 @@
name: Set LintDiff Status
uses: ./.github/workflows/_reusable-set-check-status.yml
with:
monitored_workflow_name: "[TEST-IGNORE] Swagger LintDiff - Analyze Code"
required_check_name: "[TEST-IGNORE] Swagger LintDiff"
monitored_workflow_name: "Swagger LintDiff - Analyze Code"
required_check_name: "Swagger LintDiff"
overriding_label: "Approved-LintDiff"
25 changes: 0 additions & 25 deletions .github/workflows/watch-lintdiff.yaml

This file was deleted.

Loading