Skip to content

Commit

Permalink
[Oerge branch 'gh-pages' of https://github.com/hackforla/website into…
Browse files Browse the repository at this point in the history
… add-github-handle-7173
  • Loading branch information
kgoldpasv committed Aug 16, 2024
2 parents 4404ba6 + 257b8e4 commit 8ba04ee
Show file tree
Hide file tree
Showing 22 changed files with 2,108 additions and 1,673 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/pull-request-trigger.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
name: Pull Request Trigger
on:
pull_request_target:
types: [opened, closed]
pull_request:
types: [opened, edited]
branches:
- 'gh-pages'

jobs:
# Placeholder action: Delete when new jobs added
Hello-World:
Check-For-Linked-Issue:
runs-on: ubuntu-latest
if: ${{ github.event.action == 'opened' || github.event.action == 'edited' }}
steps:
- run: echo "🍺 This job was automatically triggered by a ${{ github.event_name }} event."
- name: Checkout repository
uses: actions/checkout@v4

- name: Check for keyword and issue number
id: check-for-keyword
uses: actions/github-script@v7
with:
script: |
const script = require('./github-actions/trigger-pr/check-linked-issue.js')
script({g: github, c: context})
1 change: 1 addition & 0 deletions .github/workflows/schedule-fri-0700.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
env:
HACKFORLA_ADMIN_TOKEN: ${{ secrets.HACKFORLA_ADMIN_TOKEN }}
with:
github-token: ${{ secrets.HACKFORLA_GRAPHQL_TOKEN }}
script: |
const HACKFORLA_ADMIN_TOKEN = process.env.HACKFORLA_ADMIN_TOKEN;
const script = require('./github-actions/trigger-schedule/add-update-label-weekly/add-label.js');
Expand Down
23 changes: 13 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -907,30 +907,33 @@ In bullet point form, explain the changes you made in order to complete the acti

##### **iv. Complete pull request (4): Include images (if available)**

in the gif example [near the top of this part within the gif of completing pull request #2131](#31-how-to-make-a-pull-request), you will see 2 images get dragged into the text box and added within the `<details>/<summary>` tags like so:
In the dropdown example above [**Click here** to see pull request #2131 example (gif)](#31-how-to-make-a-pull-request), you will see 2 images get dragged into the text box and added within the `<details>/<summary>` tags like so:

```
### Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)
<!-- Note, if your images are too big, use the <img src="" width="" length="" /> syntax instead of ![image](link) to format the images -->
<!-- If images are not loading properly, you might need to double check the syntax or add a newline after the closing </summary> tag -->
### Screenshots of Proposed Changes Of The Website (if any, please do not include screenshots of code changes)
<!-- Notes:
- If there are no visual changes to the website, delete all of the script below and replace with "- No visual changes to the website"
- If there are visual changes to the website, include the 'before' and 'after' screenshots below.
- If your images are too big, use the <img src="" width="" length="" /> syntax instead of ![image](link) to format the images
- If images are not loading properly, you might need to double check the syntax or add a newline after the closing </summary> tag
-->
<details>
<summary>Visuals before changes are applied</summary>
![image](https://user-images.githubusercontent.com/77212035/130176122-aca18c1a-c883-48b3-987d-06342835017c.png)
<summary>Visuals before changes are applied</summary>
![image](https://user-images.githubusercontent.com/77212035/130176122-aca18c1a-c883-48b3-987d-06342835017c.png)
</details>
<details>
<summary>Visuals after changes are applied</summary>
<summary>Visuals after changes are applied</summary>
![image](https://user-images.githubusercontent.com/77212035/130176069-9c1cc306-f930-43a5-9f93-1249466c81dc.png)
![image](https://user-images.githubusercontent.com/77212035/130176069-9c1cc306-f930-43a5-9f93-1249466c81dc.png)
</details>
```

**Note:** Not all pull requests will have significant changes to our website. **Please do not any screenshots of VSCode** If you do not have the ability to notate changes, please remove the `<details>/<summary` and replace it with an explanation for no images like:
**Note:** Not all pull requests will make visual changes to our website. **Please do not include screenshots from VSCode / other IDE**. If your pull request does not make visual changes to our website, please remove the entire`<details>/<summary` section and replace it with a brief summary stating that there are no visual changes, for example:

```
### Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)
Expand Down
Loading

0 comments on commit 8ba04ee

Please sign in to comment.