Skip to content

Commit

Permalink
Update automatedpr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-shervin authored Mar 25, 2024
1 parent e705f34 commit c6da846
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions .github/workflows/automatedpr.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
name: Create Pull Request
name: Push to Fork

on:
push:
branches:
- sam-patch

jobs:
create_pr:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'Automated pull request'
title: 'Automated pull request'
body: |
This pull request is automatically created whenever changes are pushed to the `master` branch
branch: sam-patch
base: master
# Change the below repository names accordingly
repository: sam-shervin/hackhub-24-testdeploy
- name: Checkout code
uses: actions/checkout@v2

- name: Push to Fork
uses: ad-m/push-to-fork@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch_to_push: sam-patch
fork_branch: sam-shervin/hackhub-24-testdeploy/master

0 comments on commit c6da846

Please sign in to comment.