Skip to content

Commit

Permalink
Merge pull request #263 from Lombiq/issue/OSOE-517
Browse files Browse the repository at this point in the history
OSOE-517: Display warning to merge target branch in GitHub Action Job Summary
  • Loading branch information
DemeSzabolcs authored Oct 7, 2023
2 parents 7adb389 + 514733b commit c45248e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/verify-gha-refs/Check-Called-GHA-Refs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ $mismatchRefs = Get-ChildItem -Path $PathIncludeList -Include $FileIncludeList -

if ($mismatchRefs.Count -gt 0)
{
Write-Output '> :warning: Warning :warning:' >> $env:GITHUB_STEP_SUMMARY
Write-Output '> Your pull request branch may be outdated if you see errors for files you did not edit. Please merge the target branch to resolve these errors.' >> $env:GITHUB_STEP_SUMMARY

"These called GitHub Actions and Workflows do not match expected ref '$ExpectedRef'." >> $env:GITHUB_STEP_SUMMARY

foreach ($mismatch in $mismatchRefs)
Expand Down

0 comments on commit c45248e

Please sign in to comment.