Skip to content

Default project in new trial SaaS account is stuck in "pending" state #1690

Default project in new trial SaaS account is stuck in "pending" state

Default project in new trial SaaS account is stuck in "pending" state #1690

name: Notion Sync
on:
workflow_dispatch:
issues:
types:
[
opened,
edited,
labeled,
unlabeled,
assigned,
unassigned,
milestoned,
demilestoned,
reopened,
closed,
]
concurrency:
group: ${{ github.workflow }}-${{ github.event.issue.number }}
cancel-in-progress: true
jobs:
notion_job:
runs-on: ubuntu-latest
name: Add GitHub Issues to Notion
steps:
- name: Add GitHub Issues to Notion
uses: fluxninja/notion-github-action@fluxninja
with:
notion-token: ${{ secrets.NOTION_TOKEN }}
notion-db: ${{ secrets.NOTION_DATABASE }}
- name: Send slack notification
uses: rtCamp/action-slack-notify@v2.2.1
if: ${{ failure() }}
env:
SLACK_MESSAGE: |
Run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Issue: ${{ github.event.issue.html_url }}
SLACK_COLOR: ${{ job.status }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_NOTION_SYNC_FAILURE }}