Integrating GitHub with Microsoft Fabric - Overview General #686
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: Update Last Modified Date | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
update-date: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: pip install python-dateutil | |
- name: Configure Git | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "brown9804" | |
- name: Update last modified date in Markdown files | |
run: python .github/workflows/update_date.py | |
- name: Commit changes | |
run: | | |
git add -A | |
git commit -m "Update last modified date in Markdown files" || echo "No changes to commit" | |
git push origin HEAD:${{ github.event.pull_request.head.ref }} |