Skip to content

Fetch Latest Hukamnama #690

Fetch Latest Hukamnama

Fetch Latest Hukamnama #690

Workflow file for this run

name: Fetch Latest Hukamnama
on:
workflow_dispatch:
schedule:
- cron: '30 2 * * *'
- cron: '30 5 * * *'
jobs:
fetch-hukamnama:
runs-on: ubuntu-latest
permissions:
contents: write
packages: read
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: https://npm.pkg.github.com
scope: '@gurbaninow'
- run: npm ci
- run: npm run fetch
name: Fetch
- id: date
uses: Kaven-Universe/github-action-current-date-time@v1
with:
format: "YYYY-MM-DD"
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "feat: ${{ steps.date.outputs.time }}"