-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e705f34
commit c6da846
Showing
1 changed file
with
12 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |