Bump Microsoft.Azure.Functions.Worker.Sdk from 1.18.1 to 2.0.0 #435
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify follow-up actions required | |
permissions: | |
pull-requests: write | |
on: | |
# workflow_dispatch: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 #fails without this | |
- id: git_diff | |
name: Compare to previous version | |
shell: pwsh | |
run: | | |
$GitDiff = & ./tools/Get-Diff.ps1 | |
$GitDiff.ChangedFiles >> $Env:GITHUB_STEP_SUMMARY | |
# Write all folders we required in follow-up actions | |
$AssetsChanged = $GitDiff.Assets.ToString().ToLower() | |
Write-Host "AssetsChanged=$AssetsChanged" | |
Write-Output "AssetsChanged=$AssetsChanged" >> $Env:GITHUB_OUTPUT | |
# Consider this | |
# - name: Verify if images in next-gen format are present | |
# if: ${{ fromJSON(steps.git_diff.outputs.AssetsChanged) }} | |
# shell: pwsh | |
# run: | | |
# ./tools/Convert-WebImage.ps1 -ToolVersion libwebp-1.3.2-linux-x86-64 | Out-Null | |
# # $GitStatus = git status --short | |
# # $GitStatus | |
- if: ${{ fromJSON(steps.git_diff.outputs.AssetsChanged) }} | |
uses: marocchino/sticky-pull-request-comment@v2 | |
with: | |
header: assets | |
recreate: true | |
message: | | |
Detected assets folder change for ${{ github.sha }} | |
# Consider this... | |
# seo_job: | |
# needs: [ build_and_deploy_job ] | |
# if: needs.build_and_deploy_job.outputs.docs_changed && github.event_name != 'pull_request' | |
# uses: ./.github/workflows/seo.yml |