feat: Template Updates 2024-05-21 #34
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: Check Dates | |
on: | |
pull_request: | |
jobs: | |
check_dates: | |
name: Check Dates | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Get Changed Files | |
id: files | |
uses: tj-actions/changed-files@v44 | |
with: | |
separator: "," | |
- name: Check Dates | |
shell: pwsh | |
run: | | |
$files = "${{ steps.files.outputs.all_changed_files }}".Split(',') | |
$nowDate = Get-Date -Format "yyyy-MM-dd" | |
ci/CheckInvalidDates.ps1 $files $nowDate |