Skip to content

Commit

Permalink
updated README to handle forks
Browse files Browse the repository at this point in the history
  • Loading branch information
rsriniva committed Mar 4, 2024
1 parent 0d532df commit ec881bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
run: npm run build

- name: Publish PR preview to GitHub Pages
# Do not run if PR is from fork
if: ${{ ! github.event.pull_request.head.repo.fork }}
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./build/site
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ To add a new section under a chapter create an entry in the *modules/CHAPTER/nav

### Steps

1. Clone the course repository.
1. Clone or fork the course repository.
```
$ git clone git@github.com:RedHatQuickCourses/rhods-deploy.git
```
Expand Down Expand Up @@ -65,7 +65,7 @@ To add a new section under a chapter create an entry in the *modules/CHAPTER/nav
$ git push -u origin rsriniva/ch01s01
```

7. Create a GitHub pull request (PR) for your changes using the GitHub web UI.
7. Create a GitHub pull request (PR) for your changes using the GitHub web UI. For forks, create a PR that merges your forked changes into the `main` branch of this repository.

8. Request a review of the PR from your technical peers and/or a member of the PTL team.

Expand Down

0 comments on commit ec881bc

Please sign in to comment.