Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
19 changes: 19 additions & 0 deletions .github/workflows/blog-posts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Update blog posts

on:
schedule:
- cron: "0 6 * * *"
workflow_dispatch:

jobs:
update-readme:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- name: Pull latest posts into the BLOG-POST-LIST markers
uses: gautamkrishnar/blog-post-workflow@f177491c77670f150ab4e9b9890254d8eba4164b # v1.9.7
with:
feed_list: "https://codewithutkarsh.medium.com/feed"
max_post_count: 5
31 changes: 31 additions & 0 deletions .github/workflows/snake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Generate contribution snake

on:
schedule:
- cron: "0 */12 * * *"
workflow_dispatch:
push:
branches: [main]

jobs:
generate:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Render the contribution grid as a snake
uses: Platane/snk@d8f6715049803e982ee5ff501b6b9b7d5deeb09b # v3.5.0
id: snake-gif
with:
github_user_name: ${{ github.repository_owner }}
outputs: |
dist/github-snake.svg
dist/github-snake-dark.svg?palette=github-dark

- name: Push the generated SVGs to the output branch
uses: crazy-max/ghaction-github-pages@1d6ee9b181a81033a16bd707a1401afa978daab4 # v5.0.0
with:
target_branch: output
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading