Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
deaadab
feat: integrate Probot middleware for GitHub webhooks
mafreud Oct 4, 2025
28163b2
feat: integrate Probot into Firebase functions and update dependencies
mafreud Oct 5, 2025
952d40f
feat: add step to install dependencies for GitHub apps in CI workflow
mafreud Oct 5, 2025
d783ae2
ci: add debugging steps to GitHub apps dependency installation
mafreud Oct 5, 2025
5d46bd9
ci: remove unnecessary debug commands from GitHub apps dependency ins…
mafreud Oct 5, 2025
30bc9b2
refactor: remove test file and update GitHub App ID configuration
mafreud Oct 5, 2025
4b923f1
refactor: comment out probotApp export and restructure middleware ini…
mafreud Oct 5, 2025
f4dfaa0
fix: update Firebase service account secret reference in GitHub apps …
mafreud Oct 5, 2025
810fca9
refactor: comment out unused GitHub App secrets and middleware initia…
mafreud Oct 5, 2025
1d254ad
refactor: uncomment githubAppId definition and usage in Firebase func…
mafreud Oct 5, 2025
a9086bf
refactor: restore GitHub App secrets and middleware initialization in…
mafreud Oct 5, 2025
9c8710c
refactor: add debugging commands to GitHub apps dependency installati…
mafreud Oct 5, 2025
78a8eb3
refactor: add debugging step for GitHub apps dependency installation …
mafreud Oct 5, 2025
c73aa4c
refactor: migrate GitHub app code to Firebase functions
mafreud Oct 5, 2025
99d5e48
refactor: reorder Test step in GitHub Actions workflow for clarity
mafreud Oct 5, 2025
b746582
refactor: uncomment and clean up probot middleware initialization in …
mafreud Oct 5, 2025
699b665
refactor: remove unused firebase service account and streamline GitHu…
mafreud Oct 5, 2025
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
26 changes: 17 additions & 9 deletions .github/workflows/github-apps-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,8 @@ on:
branches: [main, develop]

jobs:
github-apps-tests:
uses: ./.github/workflows/reusable-github-apps-ci.yml

firebase-functions-tests:
uses: ./.github/workflows/reusable-firebase-functions-ci.yml

deploy-firebase-functions-dev:
if: github.event_name == 'pull_request'
needs: [github-apps-tests, firebase-functions-tests]
runs-on: ubuntu-latest
defaults:
run:
Expand All @@ -29,18 +22,25 @@ jobs:

- uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.FIREBASE_SA_KEY_FOR_PREVIEW_FUNCTIONS }}
credentials_json: ${{ secrets.GHA_SERVICE_ACCOUNT_PREVIEW_FUNCS }}

- name: Install dependencies
working-directory: openci-runner/firebase/functions
run: npm ci

- name: tsc
working-directory: openci-runner/firebase/functions
run: npm run build

- name: Test
working-directory: openci-runner/firebase/functions
run: npm test

- name: Deploy Functions (dev)
run: npx firebase-tools deploy --only functions --project ${{ secrets.FIREBASE_PROJECT_ID_FOR_PREVIEW_FUNCTIONS }}

deploy-firebase-functions-production:
if: github.event_name == 'push'
needs: [github-apps-tests, firebase-functions-tests]
runs-on: ubuntu-latest
defaults:
run:
Expand All @@ -60,5 +60,13 @@ jobs:
working-directory: openci-runner/firebase/functions
run: npm ci

- name: tsc
working-directory: openci-runner/firebase/functions
run: npm run build

- name: Test
working-directory: openci-runner/firebase/functions
run: npm test

- name: Deploy Functions (Production)
run: npx firebase-tools deploy --only functions --project ${{ secrets.FIREBASE_PROJECT_ID }}
28 changes: 0 additions & 28 deletions .github/workflows/reusable-firebase-functions-ci.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/reusable-github-apps-ci.yml

This file was deleted.

3 changes: 0 additions & 3 deletions biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@
"noUnusedImports": "error"
}
}
},
"organizeImports": {
"enabled": true
}
}
Loading