Skip to content

Instantly share code, notes, and snippets.

View lohanidamodar's full-sized avatar
🔨
Building Appwrite

Damodar Lohani lohanidamodar

🔨
Building Appwrite
View GitHub Profile
@lohanidamodar
lohanidamodar / workflow.yml
Created November 10, 2023 06:28
Create new branch and PR for issue
name: Handle Issues
on:
issues:
types: [opened]
jobs:
create-branch-and-pr:
runs-on: ubuntu-latest
steps:
#!/usr/bin/env bash
# clone https://github.com/lohanidamodar/gitpod-dotfiles.git to ~/.dotfiles
# then run the ~/.dotfiles/setup.sh script
if [ -d "${HOME}/.dotfiles" ]; then
echo "Dotfiles directory already exists at ${HOME}/.dotfiles"
echo "Updating existing dotfiles..."
cd "${HOME}/.dotfiles" || exit 1
git pull origin main