Skip to content

Commit 186a2ce

Browse files
authored
chore: update github config (#2025)
- simplify commit template - don't do commitlint checks when merging into main - chore: add in desired config and template
1 parent 1b1ea55 commit 186a2ce

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/pull_request_template.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
### Test Plan:
33

44
<!--
5-
How did you validate that your changes were implemented correctly?
5+
How did you validate that your changes were implemented correctly? If manually test, how?
66
-->
77

8-
- [ ] Wrote [automated tests](https://czi.atlassian.net/wiki/x/Hbl1H)
8+
- [ ] Wrote/updated [automated tests](https://czi.atlassian.net/wiki/x/Hbl1H)
99
- [ ] CI tests / new tests are not applicable
10-
- [ ] Manually tested my changes, but I want to keep the details secret
11-
- [ ] Created and used an [alpha publish](https://github.com/chanzuckerberg/edu-design-system/blob/main/docs/PUBLISHING.md#alpha-release)
1210
- [ ] Manually tested my changes, and here are the details:

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
# This workflow can also be triggered via "workflow_call".
124124
# Since it's a push event we have access to these properties https://docs.github.com/en/webhooks/webhook-events-and-payloads#push
125125
# Filtering on just the (required) .id https://docs.github.com/en/actions/learn-github-actions/expressions#object-filters
126-
if: github.event_name == 'push'
126+
if: github.event_name == 'push' && github.ref != 'refs/head/main'
127127
run: |
128128
COMMIT_COUNT=$(echo '${{ toJSON(github.event.commits.*.id) }}' | jq length)
129129
echo "Number of commits in the push: $COMMIT_COUNT"

0 commit comments

Comments
 (0)