Skip to content

armgit / Ix

Public Imported from GitHub
0

Understand any codebase instantly. System intelligence for codebases, built for humans and AI.

Remove Notion sync workflow and associated secrets (#182)

jbmiv4b184ed4f1f7
diff --git a/.github/workflows/notify-sync.yml b/.github/workflows/notify-sync.yml
deleted file mode 100644
index a212a8b8..00000000
--- a/.github/workflows/notify-sync.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-name: Notify Notion Sync
-
-on:
- push:
- issues:
- types: [opened, closed, reopened, edited, labeled, unlabeled, assigned, unassigned]
- pull_request:
- types: [opened, closed, reopened]
- create:
- delete:
- release:
- types: [published]
-
-permissions: {}
-
-jobs:
- notify:
- runs-on: ubuntu-latest
- steps:
- - name: Generate GitHub App token
- id: app-token
- uses: tibdex/github-app-token@v2
- with:
- app_id: ${{ secrets.GH_APP_ID }}
- private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}
-
- - name: Trigger sync workflow
- run: |
- curl -s -X POST \
- -H "Authorization: token ${{ steps.app-token.outputs.token }}" \
- -H "Accept: application/vnd.github+json" \
- -d '{"ref":"main"}' \
- https://api.github.com/repos/ix-infrastructure/ix-notion-sync/actions/workflows/sync.yml/dispatches