diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..7e992f2 --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,27 @@ +name: Create Pull Request + +on: + push: + branches: + - main + +jobs: + create_pr: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + token: ${{ secrets.COMMIT_TOKEN }} + + - name: Make changes + run: | + echo "Updated content" > file.txt # Replace with your file path + git config --global user.email "vishal.kumar@cloudactivelabs.com" + git config --global user.name "vishalkumar-activelabs" + # git pull origin main + git add . + git commit -m "Update app.js" + git status + git push --set-upstream origin main-$GITHUB_SHA \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..7e992f2 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,27 @@ +name: Create Pull Request + +on: + push: + branches: + - main + +jobs: + create_pr: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + token: ${{ secrets.COMMIT_TOKEN }} + + - name: Make changes + run: | + echo "Updated content" > file.txt # Replace with your file path + git config --global user.email "vishal.kumar@cloudactivelabs.com" + git config --global user.name "vishalkumar-activelabs" + # git pull origin main + git add . + git commit -m "Update app.js" + git status + git push --set-upstream origin main-$GITHUB_SHA \ No newline at end of file