Skip to content

Merge pull request #301 from warmachine028/dependabot/npm_and_yarn/cl… #293

Merge pull request #301 from warmachine028/dependabot/npm_and_yarn/cl…

Merge pull request #301 from warmachine028/dependabot/npm_and_yarn/cl… #293

Workflow file for this run

name: 📆 Update Date
on:
workflow_dispatch:
push:
branches: [main]
permissions:
contents: write
jobs:
update-date:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@main
- name: Give Permissions
run: git update-index --chmod=+x ./.github/update-date.sh # if this line gives error, then run it locally
- name: Update README
run: .github/update-date.sh
shell: bash
- name: Push Changes
uses: ./.github/actions/push-changes
if: ${{ '<!-- `date "+%d/%m/%y"` -->' != '`tail -n 1 README.md`' }}
with:
message: 'feat: updated date in README.md'