Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI to work with fork #67

Merged
merged 5 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ on:
push:
branches-ignore:
- master
pull_request:
types: [opened, ready_for_review, review_requested]
pull_request_review:
types: [submitted]

permissions: write-all
permissions:
contents: write

jobs:
build:
Expand All @@ -30,12 +35,15 @@ jobs:
run: clojure -M:web/test-headless

- name: Build main.js
if: github.event_name == 'push' || github.event.action == 'review_requested' || github.event.action == 'ready_for_review'
run: clojure -T:build js-bundle

- name: Generate RSS feed
if: github.event_name == 'push' || github.event.action == 'review_requested' || github.event.action == 'ready_for_review'
run: clojure -T:build rss-feed

- name: Commit js bundle and rss feed
if: github.event_name == 'push' || github.event.review.state == 'approved'
uses: EndBug/add-and-commit@v9
with:
add: |
Expand Down
Loading